You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/09/24 10:38:04 UTC

[jira] [Created] (SOLR-8089) Support query parsers being able to set enablePositionIncrements

Varun Thacker created SOLR-8089:
-----------------------------------

             Summary: Support query parsers being able to set enablePositionIncrements
                 Key: SOLR-8089
                 URL: https://issues.apache.org/jira/browse/SOLR-8089
             Project: Solr
          Issue Type: Bug
            Reporter: Varun Thacker


In 5.0 LUCENE-4963 disallowed setting enablePositionIncrements=false on any token filter. The idea being no filter should change the token stream in a way that could mess up preceding or following analysis components

So if a user wants to be able to have PhraseQueries that match across stopwords they cannot unless the parser is configured to not take position increments into account when generating phrase queries .

This is documented in the "Token Position Increments" section here : https://lucene.apache.org/core/5_3_0/core/org/apache/lucene/analysis/package-summary.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org