Using precision_step in elasticsearch mappings

In elastic search matching, there is an optional field called precision_step. What does it mean. I searched on google. I can not find detailed information about.

Can someone explain what precision_step is and its use ..!

thanks in advance..!

+4
source share
2 answers

This is part of the display for dates and numbers .

This is the concept of Lucene, you can read here: Lucene doco

From Lucene Doco:

Good values ​​for precisionStep depend on usage and data type:

  • 4, , precisionStep.

  • 64- (long, double) 6 8.

  • 32- (int, float) 4.

  • . < 100, Integer.MAX_VALUE (. ).

+4

1 8. 4, Numeric *.

: , . , , ( ).

+2

Source: https://habr.com/ru/post/1525249/


All Articles