[Xapian-discuss] Search not finding queries with stop words.
Olly Betts
olly at survex.com
Tue Jun 5 02:16:41 BST 2012
On Mon, Jun 04, 2012 at 12:31:05PM -0400, Jim Lynch wrote:
> If I look for something like index of elements, I get no results even
> though that phrase exists (no, I don't do a phrase search, just those
> three words separated by spaces). However if I leave off the "of" I get
> the expected number of hits. I'm guessing I have to remove the stop
> words from the query? I default to OP_OR so I would think it would
> work. Can anyone shed some light on this?
Yes, you need to set the same stopper at query time too.
There are some helpful tips for debugging this sort of situation here:
http://trac.xapian.org/wiki/FAQ/NoMatches
Cheers,
Olly
More information about the Xapian-discuss
mailing list