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:46:31 GMT

> q=rock&fq:bitrate:[* TO 128]
> 
> bitrate is int
> This also return docs with more then 128 bitrate, Is there
> something I am doing wrong 

If you are using solr 1.4.0 you need to use 

<fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"

restart tomcat/reload core and re-index is necessary after that change.

q=rock&fq=bitrate:[* TO 128]


      

Mime
View raw message