Elastic Search explain query to get tf and idf values

Hello - I created a java function to compute the TF/IDF values . Can I request help to check my explain part as I get an compile and syntax error for the below request to ES.


curl -XGET 'localhost:9200/mytask/myindex/_validate/query?explain'
"query" : {
"match": {
"title": "xxxx" }

Here is the error message:
line 7 : unexpected EOF while expecting ' ` '.
line 8 : syntax error unexpected end of file

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.