You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Lee Mallabone <le...@grantadesign.com> on 2001/11/13 18:21:20 UTC

bug with phrase searching

Hi,

If I index a document with Lucene that contains the phrase "metal or
alloy" using the StopAnalyzer, then when I do a phrase search on just
"metal alloy", the document is a valid hit.

I'm assuming this is because 'or' is a stop word so isn't indexed, as
the slop is still set to 0. Shouldn't the fact that those two tokens are
not a phrase be recorded? Is the current behaviour intended? I consider
it a bug, but am unsure how to go about fixing it...

Regards,

-- 
Lee Mallabone


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>