The filter queries are interpreted to be intersection. That is, each fq clause is intersected with the result set. There's no way I know of to combine separate filter queries with an "OR" operator.
Best Erick On Tue, Mar 8, 2011 at 2:59 AM, cyang2010 <ysxsu...@hotmail.com> wrote: > Right, i can combine that into one fq query. > > The only thing is that i want to reduce the cache size. > > I remember this is what i read from wiki. > > fq=rating:R (filter query cache A) > fq=rating:PG-13 (filter query cache B) > fq=rating:(R O PG-13) -- (It won't be able to leverage the filter query > cache A and B above, instead it will create another whole new filter query > cache C) > > fq=rating:R&fq=rating:PG-13 -- (Will be able to leverage filter query cache > A and B) > > > I will have a lot of queries with different combination of the values out of > the same field, rating. Therefore, i thought if the logical relation among > filter query is OR, it will control the number of distinct cache to be > distinct number of rating value. > > > Does it matter? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/logical-relation-among-filter-queries-tp2649142p2649904.html > Sent from the Solr - User mailing list archive at Nabble.com. >