[Xapian-devel] Does OP_NEAR works with stemming?
Olly Betts
olly at survex.com
Thu Jun 2 12:09:30 BST 2011
On Tue, May 31, 2011 at 04:14:32AM +0100, Olly Betts wrote:
> Yes, the issue seems to be stemming - the Z-prefix terms are stemmed
> forms, and aren't indexed with positional information, so won't work
> with OP_NEAR. So if default_op is OP_NEAR or OP_PHRASE, we should be
> forcing these subqueries to be unstemmed forms.
>
> Not sure how easy that will be to fix. For now, I'd suggest you just
> set stem_none if you want to use default_op set to OP_PHRASE or OP_NEAR.
Fixed in trunk r15548. Wasn't as bad as I feared.
Cheers,
Olly
More information about the Xapian-devel
mailing list