Hey Ahmet

I have added 

<field name="bitrate" type="sint" indexed="true" stored="true" default="0"/>
 
And the request I am passing is 
/solr/select?indent=on&version=2.2&q=rock&fq={!field%20f=content}mp3&fq:bitrate:[*
 TO 127] &start=0&rows=10&fl=*%2Cscore&qt=dismax&wt=standard&explainOther=&hl.fl

Still I am seeing documents above bitarate 127 

Regards
Prakash

-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: Thursday, May 20, 2010 4:09 PM
To: solr-user@lucene.apache.org
Cc: Doddamani, Prakash
Subject: RE: how to achieve filters


> I am getting Error in Solr
> Error loading class 'Solr.TrieField'
> 
> I have added following in Types of schema file
> 
> <fieldType name="tint" class="solr.TrieField"
> omitNorms="true" />
> 
> And in custom fields of schema have added
> 
> <field name="bitrate" type="tint" indexed="true"
> stored="true" />
>     
> I am using solr version 1.3 cant I handle filter(my example
> bitrate) with sint

Sure you can handle, if you are using solr 1.3.0 you need to use sint type.


      

Reply via email to