Trying to figure out how I can run something similar to this for the fq
parameter
Field1 in ( 1, 2, 3 4 )
AND
Field2 in ( 4, 5, 6, 7 )
I found some examples on the net that looked like this: fq=+field1:(1 2 3
4) +field2(4 5 6 7) but that yields no results.
Trying to figure out how I can run
something similar to this for the fq
parameter
Field1 in ( 1, 2, 3 4 )
AND
Field2 in ( 4, 5, 6, 7 )
I found some examples on the net that looked like this:
fq=+field1:(1 2 3
4) +field2(4 5 6 7) but that yields no results.
May be your default
--- On Thu, 3/3/11, Ahmet Arslan iori...@yahoo.com wrote:
From: Ahmet Arslan iori...@yahoo.com
Subject: Re: FilterQuery OR statement
To: solr-user@lucene.apache.org
Date: Thursday, March 3, 2011, 8:05 PM
Trying to figure out how I can
run
something similar to this for the fq
parameter
That worked, thought I tried it before, not sure why it didn't before.
Also, is there a way to query without a q parameter?
I'm just trying to pull back all of the field results where field1:(1 OR 2
OR 3) etc. so I figured I'd use the FQ param for caching purposes because
those queries will
You might also consider splitting your two seperate AND clauses into
two seperate fq's:
fq=field1:(1 OR 2 OR 3 OR 4)
fq=field2:(4 OR 5 OR 6 OR 7)
That will cache the two seperate clauses seperately in the field cache,
which is probably preferable in general, without knowing more about your