Re: Help required with fq syntax

2013-06-09 Thread Kamal Palei
Hi Otis Your suggestion worked fine. Thanks kamal On Sun, Jun 9, 2013 at 7:58 AM, Kamal Palei wrote: > Though the syntax looks fine, but I get all the records. As per example > given above I get all the documents, meaning filtering did not work. I am > curious to know if my indexing went fine

Re: Help required with fq syntax

2013-06-08 Thread Kamal Palei
Though the syntax looks fine, but I get all the records. As per example given above I get all the documents, meaning filtering did not work. I am curious to know if my indexing went fine or not. I will check and revert back. On Sun, Jun 9, 2013 at 7:21 AM, Otis Gospodnetic wrote: > Try: > > ...

Re: Help required with fq syntax

2013-06-08 Thread Kamal Palei
Also please note that for some documents, blocked_company_ids may not be present as well. In such cases that document should be present in search result as well. BR, Kamal On Sun, Jun 9, 2013 at 7:07 AM, Kamal Palei wrote: > Dear All > I have a multi-valued field blocked_company_ids in index.

Re: Help required with fq syntax

2013-06-08 Thread Otis Gospodnetic
Try: ...&q=*:*&fq=-blocked_company_ids:5 Otis -- Solr & ElasticSearch Support http://sematext.com/ On Sat, Jun 8, 2013 at 9:37 PM, Kamal Palei wrote: > Dear All > I have a multi-valued field blocked_company_ids in index. > > You can think like > > 1. document1 , blocked_company_ids: 1, 5, 7