Maximum voting in elastic search

Say I have two fields ID, and queries contains two rows

ID=1, queries=["apple one", "apple two", "apple three"]
ID=2, queries=["apple one only"]

Given "apple", I want to match it to ID=1 since it has three matches there in different entries. Is there a way to do this in elastic search?

Hi Jack,

Sorry, there is no easy way to do this.

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