solr increase number of digits that tint fields can store

2014-01-09 Thread Hakim Benoudjit
Hi, I have a price field of type tint, from which I will generate a range facet. And I have now some items in my index that exceed tint type limit (max integer). How do I increase tint max integer value? Here is tint definition in schema.xml: fieldType name=tint class=solr.TrieIntField

Re: solr increase number of digits that tint fields can store

2014-01-09 Thread Chris Hostetter
A TrieIntField field can never contain a value greater then java's Integer.MAX_VALUE -- it doesn't matter what settings you use. If you want to store larger values, you need to use a TrieLongField and re-index.

Re: solr increase number of digits that tint fields can store

2014-01-09 Thread Hakim Benoudjit
Thanks that's the response I was searching for. And, I have confirmed that I need to reindex my data because tlong isnt compatible with tint. 2014/1/9 Chris Hostetter hossman_luc...@fucit.org A TrieIntField field can never contain a value greater then java's Integer.MAX_VALUE -- it doesn't