[Xapian-devel] Does OP_NEAR works with stemming?
Shen Li
te_quira at hotmail.com
Thu Jun 2 16:19:49 BST 2011
This is so great! I'm gonna try it right now! Thank you so much for making my life easier!
Best,Shen
> Date: Thu, 2 Jun 2011 12:09:30 +0100
> From: olly at survex.com
> To: te_quira at hotmail.com; xapian-devel at lists.xapian.org
> Subject: Re: [Xapian-devel] Does OP_NEAR works with stemming?
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20110602/71cf528e/attachment.htm>
More information about the Xapian-devel
mailing list