lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Modassar Ather <>
Subject Phrase search with ComplexPhraseQueryParser/SpanQueryParser.
Date Wed, 05 Mar 2014 07:39:24 GMT

Phrases with stop words in them are not getting searched whereas a phrase
without it gets searched using ComplexPhraseQueryParser/SpanQueryParser.

SpanQueryParser reference:

The similar search works fine with classic parser which uses PhraseQuery as
it includes the position of terms for all the terms including stop words in
the query created.

Kindly provide your inputs on how the phrases with stop words can be
searched successfully in ComplexPhraseQueryParser/SpanQueryParser.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message