I have eventually gotten it to work with the following:
fq=supplierName:"first" + supplierName:"second" + supplierName:"third"
...
Thanks.
On Thu, Jul 14, 2011 at 4:14 PM, Kissue Kissue wrote:
> I have tried this but not working too. Thanks for your help.
>
>
>
> On Thu, Jul 14, 2011 at 3:
I have tried this but not working too. Thanks for your help.
On Thu, Jul 14, 2011 at 3:59 PM, Edoardo Tosca wrote:
> As far as i know if you add multiple FQs they will be joined always with
> AND.
> You can do something like
> fq={!q.op=OR df=supplierName}first second third ...
>
> HTH
>
> Edo
>
As far as i know if you add multiple FQs they will be joined always with
AND.
You can do something like
fq={!q.op=OR df=supplierName}first second third ...
HTH
Edo
On Thu, Jul 14, 2011 at 3:50 PM, Kissue Kissue wrote:
> No its not a multivalue field. Yes i can see that it looks like its doing
No its not a multivalue field. Yes i can see that it looks like its doing an
AND on all the filter values but how can i get it to do an OR?
I just want it to return documents that have any of the supplied values as
their supplier name.
I have also tried: solrQuery.addFilterQuery(arrayOfSupplierNam
So with
&fq=supplierName:first&fq=supplierName:second
you don't get any results?
is this field a multivalue?
Mutliple FQs are evaluated as AND
so your document must have in supplierName both "first" and "second"
Edo
On Thu, Jul 14, 2011 at 3:00 PM, Kissue Kissue wrote:
> Thanks for yo
Thanks for your response.
Actually the elements are composed as follows:
&fq=first&fq=second
But using Solr admin query screen i have modified the query to:
&fq=supplierName:first&fq=supplierName:second
i still get the same results.
I will try to use solrQuery.addFilterQuery(
Hi,
have you tried with:
solrQuery.addFilterQuery(arrayOfSupplierNames) ?
other question, is every element of your array composed in this way:
supplierName:FIRST
supplierName:SECOND
etc..
HTH
edo
On Thu, Jul 14, 2011 at 2:18 PM, Kissue Kissue wrote:
> Hi,
>
> I am using Solr 3.1 with SolrJ. I
Hi,
I am using Solr 3.1 with SolrJ. I have a field called supplierName in my
index which i am trying to do filtering on. When i select about 5 suppliers
to filter on at the same time and use their supplier name to contruct a
filter query i do not get any results but when i filter which each
indivi