Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Tor Henning Ueland
On Fri, May 20, 2011 at 9:59 PM, Dhanushka Samarakoon wrote: > That worked. Thanks :-) Great! :) -- Regards Tor Henning Ueland

Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
That worked. Thanks :-) On Fri, May 20, 2011 at 2:53 PM, Tor Henning Ueland wrote: > On Fri, May 20, 2011 at 6:52 PM, Dhanushka Samarakoon > wrote: > > What this returns me is a set of results which has both the keywords > > in fKeyword. Instead I need all the records that has at least one of th

Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Tor Henning Ueland
On Fri, May 20, 2011 at 6:52 PM, Dhanushka Samarakoon wrote: > What this returns me is a set of results which has both the keywords > in fKeyword. Instead I need all the records that has at least one of them as > a keyword. I have not tested this, but fq should as far as i know behave just as the

Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
Hi All, I'm running the following query. http://localhost:8983/solr/select/?q=green&version=2.2&indent=on&qt=dismax&; fq=fKeyword:"NITROGEN"&fq=fKeyword:"corn" &facet=on&facet.mincount=1&facet.field=fKeyword What this returns me is a set of results which has both the keywords in fKeyword. Instea