stock TokenFilterFactory for flattening positions
-------------------------------------------------

                 Key: SOLR-1719
                 URL: https://issues.apache.org/jira/browse/SOLR-1719
             Project: Solr
          Issue Type: Wish
            Reporter: Hoss Man


People seem to occasionally be confused by why certain inputs result in 
PhraseQueries instead of BooleanQueries...

http://old.nabble.com/Understanding-the-query-parser-to27071483.html
http://old.nabble.com/Tokenizer-question-to27099119.html

...it would probably be handy if there was a TokenFilterFactory provided out of 
the box that just set the positionIncrement of every token to "0" to deal with 
situations where people don't care about term positions at query time, and are 
just using tokenization/analysis as a way to split up some input string into 
multiple "SHOULD" clauses for a BooleanQuery

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to