Filter results with custom logic


(Marcelo Paixão Resende) #1

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.


(Jaspreet Singh) #2

The highlights object will typically return you all the occurrences of matches and the fields they match in.


(system) closed #3

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