lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Mallabone <>
Subject bug with phrase searching
Date Tue, 13 Nov 2001 17:21:20 GMT

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


Lee Mallabone

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message