I think the omitNorms option will normalize your field length. try setting that to false (it defaults to true for floats) and see if it helps
-- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Tue, May 19, 2015 at 11:27 AM, Vishal Swaroop <vishal....@gmail.com> wrote: > Please suggest which numeric field type to use so that I can get complete > value. > > e.g value in database is : 194.846189733028000 > > If I index it as float SOLR indexes it as 194.84619 where as I need > complete value i.e 194.846189733028000 > I will also be doing range query on this field. > > <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" > positionIncrementGap="0"/> > > <field name="value" type="float" indexed="true" stored="true" > multiValued="false" /> > > Regards >