My document is given bellow:
My query is
But irrespective of how many ever keywords matched, The score is just a constant score. I want the score to be number of keywords found in the document. How do I achieve it?
I also want to return the number of keywords matched as part of result.
I don't want to use explain.
I don't want to use highlights either. This will increase the size of the results. I just want the count and not the list of matches per document.