Hello,
When I perform a querying on Elasticsearch the duplicate matches also take score by Inverse Document Frequency and come top of the results. Can I ignore the duplicate matching.
top document,
"highlight": {
          "currentRole.jobTitle.keyword": [
            "<em>Administrative Assistant</em>"
          ],
          "jobTitle.text.keyword": [
            "<em>Administrative Assistant</em>",
            "<em>Administrative Assistant</em>",
            "<em>Administrative Assistant</em>",
            "<em>Executive Secretary</em>",
            "<em>Administrative Assistant</em>",
            "<em>Administrative Assistant</em>"
          ]
        }
next document,
"skills.text.keyword": [
            "<em>sales</em>",
            "<em>administrative duties</em>",
            "<em>CRM system</em>",
            "<em>sales</em>",
            "<em>administrative duties</em>"
          ],
          "currentRole.jobTitle.keyword": [
            "<em>Administrative Assistant</em>"
          ],
          "jobTitle.text.keyword": [
            "<em>Administrative Assistant</em>"
          ]
the first document matches single value in multiple times, In the second document It has matched with huge skills too. In this scenario I want to ignore duplicate match and return second document in top.
Can I ignore a duplicate match can anybody suggest me a good query?
Thanks,