Hello Mark,

I think fq=+term1:foo +term2:bar doesn't actually result in 2 filters being
created/used, while &fq=term1:foo&fq=term2:bar does

Otis
--
Solr & ElasticSearch Support
http://sematext.com/






On Mon, Mar 11, 2013 at 4:41 PM, geeky2 <gee...@hotmail.com> wrote:

> hello everyone,
>
> i have a question on the filter query syntax for multiple terms, after
> reading this:
>
> http://wiki.apache.org/solr/CommonQueryParameters#fq
>
> i see from the above that two (2) syntax constructs are supported
>
> fq=term1:foo & fq=term2:bar
>
> and
>
> fq=+term1:foo +term2:bar
>
> is there a reason why i would want to use one syntax over the other?
>
> does the first syntax support the "and" operand as well as the "&"?
>
> thx
> mark
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/question-about-syntax-for-multiple-terms-in-filter-query-tp4046442.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to