Two solutions:
1. An update processor that copies the float field to an int field and
rounds it. you can do that with a JavaScript script using the
StatelessScriptUpdate processor. Then query on the integer field
2.Do range queries: xyz:[2.0 TO 2.5]
-- Jack Krupansky
-----Original Message-----
From: Thyagaraj
Sent: Friday, August 02, 2013 2:24 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr round ratings to nearest integer value
After discussion I came to know that I want the second point...
2. Query to match only rounded integer values?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-round-ratings-to-nearest-integer-value-tp4081833p4082138.html
Sent from the Solr - User mailing list archive at Nabble.com.