Hi all,

What is the impact of changing "precisionStep" without re-indexing
document preceding the change?

Scenario:

Assume you have index with field:
<field name="event" type="tdate" indexed="true" stored="true"/>
<fieldType name="tdate" class="solr.TrieDateField" precisionStep="6"
positionIncrementGap="0"/>

So `tdate` of precision 6. Now let's assume you were to change `tdate`
to be of precision 8.

According to [1] the change will affect how many terms will be stored in
index after type change is in place.

But will that affect queries and sorting if index contains documents
with date precisionStep 6 and 8 at the same time?

Simple test indicates no difference (performance aside) but maybe you
folks are aware of an edge case here.



[1]
https://lucene.apache.org/core/5_5_0/core/org/apache/lucene/search/NumericRangeQuery.html




Cheers,
Jarek

Reply via email to