OpenSearch/modules/lang-mustache/src
Adrien Grand 4c4bbb3e45 Replace FieldStatsProvider with a method on MappedFieldType. #17334
FieldStatsProvider had to perform instanceof calls to properly handle dates or
ip addresses. By moving the logic to MappedFieldType, each field type can check
whether all values are within bounds its way.

Note that this commit only keeps rewriting support for dates, which are the only
field for which the rewriting mechanism is likely to help (because of time-based
indices).
2016-04-01 10:28:58 +02:00
..
main Make logging message String constant to allow static checks 2016-03-11 10:30:59 +01:00
test Replace FieldStatsProvider with a method on MappedFieldType. #17334 2016-04-01 10:28:58 +02:00