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

Olly Betts olly at survex.com
Mon Aug 16 14:55:48 BST 2010


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).

> 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.

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

Cheers,
    Olly



More information about the Xapian-discuss mailing list