Example below might explain what is the issue i am facing: I am trying to search Jimmy John on first name and last name fields and i want result to look like:
*fname lname* Jimmy John John Jimmy John Mayer John Yule . . but i am getting following result *fname lname* John Jimmy John Mayer John Yule Jimmy John . . I am trying to get Jimmy John to be displayed at top but not sure why John Jimmy is getting displayed first. Is there a way to fine tune elastic search to return Jimmy John first i.e. sequence of input query phase should match sequence of fields passed? Both fname and lname use *standard* analyzer. Below is the multi match query that i am using: { "from" : 0, "size" : 300, "query" : { "multi_match" : { "query" : "Jimmy John", "fields" : [ "fname", "lname" ], "use_dis_max" : false } }, "min_score" : 0.15, "explain" : true } -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/66207eae-d15c-45e4-94cd-e8bd3a8a55f3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.