that
their positions are maintained.
-- Jack Krupansky
-Original Message- From: Jean-Claude Dauphin
Sent: Monday, December 09, 2013 4:15 PM
To: java-user@lucene.apache.org
Subject: Why PhraseQuery translate stopwords to ?
Hi,
My application uses an analyzer with a StopWordFilter. PhraseQuery
Dauphin
Sent: Tuesday, December 10, 2013 4:21 AM
To: java-user@lucene.apache.org
Subject: Re: Why PhraseQuery translate stopwords to ?
Thanks a lot Jack for this explanation!
I changed the custom query analyzer to avoid incrementing the position of
the subsequent term for each stop word as follow
stopwords. Query Searching works when the stopword starts the
phrase but no results when the ? is not at the beginning.
Searching for phrases without stopwords works well.
Any explanation/FAQ/user-list-message that explains why PhraseQuery
translate stopwords to ? would be appreciated.
Thank you
To: java-user@lucene.apache.org
Subject: Why PhraseQuery translate stopwords to ?
Hi,
My application uses an analyzer with a StopWordFilter. PhraseQuery
translates queries with stopwords by replacing stopwords to ? characters.
For example, Java and Lucene is replaced by Java ? Lucene