Hello!

Use a float field type in your schema.xml file, for example like this:
<fieldType name="float" class="solr.TrieFloatField" precisionStep="0" 
positionIncrementGap="0"/>

Define a field using this type:
<field name="price"  type="float" indexed="true" stored="true"/>

You'll be able to index data like this:
<field name="price">19.95</field>

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

>  Hi,
>  how can I indexing numbers with decimal point.
>  For example:
>  5,50
>  109,90

>  I want to sort the numbers.

>  Thanks

>  

Reply via email to