Hello,
i am trying to analyze an index which contains a field id and messageanalyze having text data.
when i try to get response from the below url, it returns tokens for the text parmeter and not the messageanalyze field specified. how can i get the response back for the field instead of the text as it isnt accepting the query without text parameter which is mandatory.
URL trying to get the message tokens:
http://localhost:9200/myindex/_analyze?field=messageanalyze&analyzer=standard&text="this is a text"
response:
{"tokens":[{"token":"this","start_offset":1,"end_offset":5,"type":"","position":0},{"token":"is","start_offset":6,"end_offset":8,"type":"","position":1},{"token":"a","start_offset":9,"end_offset":10,"type":"","position":2},{"token":"text","start_offset":11,"end_offset":15,"type":"","position":3}]}