lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Barry <>
Subject QueryParser, phrases and stopwords
Date Wed, 15 Jun 2005 16:12:49 GMT
I have a situation where a query such as "climate control" is returning
documents with the phrase "climate of control".  (I'm using QueryParser).

After searching, I found  the similar issue on the mailing list from
Greg Robertson
with a patch from Steve Rowe.

Looking at the source repository for, the patch was applied
in November of 2003 and then reverted in Dec 2003 (by Erik), with the note:

revert position increment change due to conflict with PhraseQuery

(the patch  incremented the token position to inhibit exact matching across
removed stopword(s)).

I couldn't find any info on how/why this approach conflicted with
Can anyone elighten me on this? Does anyone know of a way to inhibit
exact matching across removed stopwords(s)?

Pointers to nutch are appreciated, pointers into nutch where this
situation is
handled are appreciated even more :-)

Thanks, MikeB.

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

View raw message