RE: Changing precisionStep without a re-index

2012-04-18 Thread Michael Ryan
In case anyone tries to do this... If you facet on a TrieField and change the precisionStep to 0, you'll need to re-index. Changing precisionStep to 0 changes the prefix returned by TrieField.getMainValuePrefix(FieldType), which then causes facets with a value of "0" to be returned. -Michael

RE: Changing precisionStep without a re-index

2012-04-16 Thread Michael Ryan
> Not really - it changes what tokens are indexed for them numbers and > range queries won't work correctly. > Sorting (FieldCache), function queries, etc, would still work, and > exact match queries would still work. Thanks. So it is just range queries that won't work correctly? That's okay for

Re: Changing precisionStep without a re-index

2012-04-16 Thread Yonik Seeley
On Mon, Apr 16, 2012 at 12:12 PM, Michael Ryan wrote: > Is it safe to change the precisionStep for a TrieField without doing a > re-index? Not really - it changes what tokens are indexed for them numbers and range queries won't work correctly. Sorting (FieldCache), function queries, etc, would s