lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Mallabone <...@grantadesign.com>
Subject bug with phrase searching
Date Tue, 13 Nov 2001 17:21:20 GMT
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:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message