with_positions
will instruct Elasticsearch (Lucene) and also index the position of terms in the source text
This helps with the order of terms inside the field, for example, for another question that you had here .
with_positions_offsets
will instruct Elasticsearch (Lucene) to also index the position of terms in the source text and information about the character offset of each term (start position and end position for each at the character level)
, , , "" , , . , "" ( ) .
. with_positions
with_positions_offsets
.
term_vector
highlighting!
, positions
offsets
, Lucene Elasticsearch :
![Sample text](https://fooobar.com//img/004f808b52e9650bbe5687238606d74a.png)
:
![enter image description here](https://fooobar.com/undefined)
source
share