And if you need to cache OR legs separately, here is the workaround
http://blog.griddynamics.com/2014/01/segmented-filter-cache-in-solr.html
On Wed, Mar 5, 2014 at 12:31 PM, Shawn Heisey wrote:
> On 3/4/2014 5:54 PM, Andreas Owen wrote:
> > i want to use the following in fq and i need to set th
On 3/4/2014 5:54 PM, Andreas Owen wrote:
> i want to use the following in fq and i need to set the operator to OR. My
> q.op is AND but I need OR in fq. I have read about ofq but that is for
> putting OR between multiple fq. Can I set the operator for fq?
>
> (-organisations:["" TO *] -role
Hi Andreas,
You should be able to say:
(-organisations:["" TO *] -roles:["" TO *]) OR (+organisations:(150 42)
+roles:(174 72))
Study your queries with debuqQuery=true http parameter, at times this is
invaluable.
Dmitry
On Wed, Mar 5, 2014 at 2:54 AM, Andreas Owen wrote:
> i want to use the