lucene-java-user mailing list archives

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

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

SpanQueryParser reference: https://issues.apache.org/jira/browse/LUCENE-5205

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.

Thanks,
Modassar

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