Access to matched terms in java native scripting
<p>I am using elasticsearch engine and I don’t want to use elastic scoring algorithm (TF/IDF) for scoring and sorting my document so I use java native script for implement my own scoring algorithm. I use multi_match query with fuzziness 2 and I need terms that match to my query in my java native script. How can I access them ?</p>