[Xapian-discuss] No position.{DB,baseA,baseB}

Richard Heycock rgh at topikality.com
Tue Aug 17 05:09:18 BST 2010


Excerpts from Olly Betts's message of 2010-08-16 23:55:48 +1000:
> On Mon, Aug 16, 2010 at 07:50:33PM +1000, Richard Heycock wrote:
> > I'm looking at the API docs and I see that there is a method called
> > TermGenerator::index_text_without_positions is this what you mean when
> > you say "index with positional data"?
> 
> Yes (though to be clear TermGenerator::index_text_without_positions indexes
> text *without* positional data).

Ops. I meant to say without!

> > Assuming that it is, I'm using TermGenerator::index_text. Is there some
> > thing else that could be causing this?
> 
> I can't think what might be causing this.
> 
> We don't have test coverage for TermGenerator in Ruby currently, but I don't
> see how this could be broken there - it is just automatically generated by
> SWIG.  And this definitely works in C++, Python, and Perl.

I looked into a little bit more and sometimes it works and sometimes it
doesn't but as to what triggers it ...


> Could you try to reduce this to a simple self-contained (other than Xapian!)
> Ruby script?

Absolutely. Give me a day or so though as I won't be able to work on
it for a for days.

rgh


> Cheers,
>     Olly
-- 
Richard Heycock

http://topikality.com

+61 (0) 410 646 369
[e]:  rgh at topikality.com
[im]: rgh at topikality.com



More information about the Xapian-discuss mailing list