Itamar Syn-Hershko created LUCENE-8565:
------------------------------------------

             Summary: SimpleQueryString to support field filtering (aka Add 
field:text operator)
                 Key: LUCENE-8565
                 URL: https://issues.apache.org/jira/browse/LUCENE-8565
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/queryparser
            Reporter: Itamar Syn-Hershko


SimpleQueryString lacks support for the `field:` operator for creating queries 
which operate on fields other than the default field. Seems like one can either 
get the parsed query to operate on a single field, or on ALL defined fields (+ 
weights). No support for specifying `field:value` in the query.

It probably wasn't forgotten, but rather left out for simplicity, but since we 
are using this QP implementation more and more (mostly through Elasticsearch) 
we thought it would be 

Seems like this is not too hard to pull off and I'll be happy to contribute a 
patch for it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to