In the Java API of ES, is there a way to find which of the search terms did not match in the mappings of a percolator?


(Mchekol Liganz) #1

I am a newbie in ES. I have a small problem when fetching percolators that match a search request.
In the Java API of ES, is there a way to find which of the search terms did not match in the mappings of a percolator?
For instance, assume that I have a percolator P1 with a mapping "sport":"football" and a search string S = "football in Manchester". Now,
if I retrieve all the percolators that match S, then I will get P1 obviously because of the term "football". I am interested in collecting all those
unmatched terms, in this case, "in Manchester". Is there a way to do this in the Java API of ES?

Thanks


(system) #2