[
https://issues.apache.org/jira/browse/LUCENE-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julie Tibshirani resolved LUCENE-5363.
--------------------------------------
Resolution: Won't Fix
Lucene Fields: (was: New)
After consideration, the new behavior actually seems more consistent to me, as
it always takes stopwords into account. Before, stopwords would usually have an
affect, but not if they were at the beginning of a phrase.
> Inconsistent behavior for phrase queries with leading stopwords
> ----------------------------------------------------------------
>
> Key: LUCENE-5363
> URL: https://issues.apache.org/jira/browse/LUCENE-5363
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Affects Versions: 4.0
> Reporter: Julie Tibshirani
> Attachments: PhraseQueryWithLeadingStopwordsTest.java
>
>
> Phrase queries with leading stopwords exhibit inconsistent behavior. For
> example, the phrase query "the president of the united states" matches "hello
> president of the united states", but not "president of the united states".
> As far as I can tell, this issue arose in 4.0 when ExactPhraseScorer was
> re-implemented. In 3.0, "the president of the united states" matches both
> "hello president of the united states" and "president of the united states".
> A test case that triggers the bug is attached.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]