View the analysis of a field

Term vector APi-Termvectors

GET /users/_termvectors/2? fields=description { "_index" : "users", "_type" : "_doc", "_id" : "2", "_version" : 1, "found" : true, "took" : 0, "term_vectors" : {"description" : {"field_statistics" : { "Terms" : {" like ": {"term_freq" : {" like" : {"term_freq" : "Tokens" : [{"position" : 1, "start_offset" : 1, "end_offset" : 3}]} 1, "tokens" : [{" position ": 3," start_offset ": 6," end_offset ": 8}]}," I ": {" term_freq" : 1, "tokens" : [{" position ": 0," start_offset ": 0," end_offset ": 1}]}," reading ": {" term_freq" : 1, "tokens" : [{" position ": 2, "start_offset" : 3, "end_offset" : 5 } ] } } } } }Copy the code