Hi all,

I sent a PR back in November to resolve the title and would appreciate
feedback.

Summary:

SimpleQueryParser 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 useful to have it in.

JIRA: https://issues.apache.org/jira/browse/LUCENE-8565

PR: https://github.com/apache/lucene-solr/pull/498

What do people think?

Cheers,

--

Itamar Syn-Hershko
CTO, Founder
BigData Boutique <http://bigdataboutique.com/>
Elasticsearch Consulting Partner
http://code972.com | @synhershko <https://twitter.com/synhershko>

Reply via email to