I have multiple match_phrase clauses. Is there a way to access the matching phrases (the match_phrase results and which clauses matched) and their position for each document? I'm looking for a way to create a plugin or painless script to do that.
marcelothebuilder (Marcelo Paixão Resende) #1
Jaspreet_Singh (Jaspreet Singh) #2
The highlights object will typically return you all the occurrences of matches and the fields they match in.