I have the "EmployeeName" field in the elastic search index - and I would like to execute a query that will return to me all cases when there are duplicate "EmployeeName" values. It can be done?
I found more_like_this, but this requires a field value for "like_text". But my requirement is to get a list of employees who have duplicate names, not knowing its meaning.
{ "more_like_this" : { "fields" : ["EmployeeName"], "like_text" : "Mukesh", "min_term_freq" : 1, "max_query_terms" : 12 } }
Thanks at Advance
Relations Mukesh
source share