fq=here:there OR this:that

For the lurker:  an AND should be:

        fq=here:there&fq=this:that

While you can, technically, pass:

        fq=here:there AND this:that

Solr will cache the separate fq= parameters and reuse them in any context.  The 
AND(ed) filter will be cached as a single entry and only used when the same AND 
construct is sent.  Perhaps useful, not as generally desirable.


On Oct 7, 2013, at 2:10 PM, "Jack Krupansky" <j...@basetechnology.com> wrote:

> Combine the two filter queries with an explicit OR operator.
> 
> -- Jack Krupansky
> -----Original Message----- From: PeterKerk
> Sent: Monday, October 07, 2013 1:50 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Adding OR operator in querystring and grouping fields?
> 
> Ok thanks.
> "you must combine them into one filter query parameter. ", how would I do
> that? Can I simply change the URL structure or must I change my schema.xml
> and/or data-config.xml?
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Adding-OR-operator-in-querystring-and-grouping-fields-tp4093942p4093947.html
> Sent from the Solr - User mailing list archive at Nabble.com. 

Reply via email to