I need to get all tokens for a document when debug, so I know what exact tokens indexed in elasticsearch , this can help me understand why a query doesn't get any result when it supposed to be . any way to do this please?
Yesterday I asked the same question, you can read the answer on the elasticsearch guide,
Based on that guide, you can retrive the token on document by the following query :
"fields" : ["text"],
"offsets" : true,
"payloads" : true,
"positions" : true,
"term_statistics" : true,
"field_statistics" : true
Hope it save your night
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.