lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: customer request handler doesn't envok the query tokenization chain
Date Mon, 05 Nov 2007 16:18:06 GMT
On 11/5/07, Yu-Hui Jin <> wrote:
> Just curious, does the default operator  ( "AND" or "OR") specify the
> relationship between a field/value component or between the tokens of the
> same field/value componenet?

between any clauses in a boolean query.

> e.g. for a query like this:
> field1:abc  field2:xyz
> does the operator   connect field1:abc and field2:xyz , or it connects  the
> tokens from "abc" and "xyz" for their respective field?

These are two different query clauses (the fieldnames don't matter).
If the default operator is "OR", then it will be interpreted as
field1:abc OR field2:xyz  (both optional)
if the default operator is set to "AND" then it will be
field1:abc AND field2:xyz  (both required)


View raw message