Retrieve variants generated by Elasticsearch on ingest

41 Views Asked by At

Elasticsearch versions 7 and 8.

When Elasticsearch ingests data, it generates certain phonetic keys for the tokens (and other types depending on the analyzer you specify). Is there a way to retrieve and view these for a given document via query?

1

There are 1 best solutions below

2
On

You can use the analyze API on specific index and provide the text of your field in your documents to see the tokens generated by Elasticsearch.

Please refer to the examples given in the documentation.