Thanks Ahmet,

Let me try these options
Regards
Prakash  

-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: Tuesday, May 18, 2010 9:06 PM
To: solr-user@lucene.apache.org
Subject: RE: how to achieve filters

> Yep content is string, and bitrate is int.

bitrate should be trie based tint, not int, for range queries work
correctly.

> I am digging more now Can we combine both the scenarios.
> 
> q=rock&fq={!field f=content}mp3
> q=rock&fq:bitrate:[* TO 128]
> 
> Say if I want only mp3 from 0 to 128

You can append filter queries (fq) as many as you want. 

&q=rock&fq={!field f=content}mp3&fq=bitrate:[* TO 128]




      

Reply via email to