lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject RE: how to achieve filters
Date Tue, 18 May 2010 15:35:59 GMT
> 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]




      

Mime
View raw message