Let's say I have a phrase query "a.b", And the occurrences of this phrase is more within a document compared to the number of documents that has its occurrence.
Going over every occurrence within a document to calculate its scoring is causing poor performance at the time of search.
One way to control scoring would be to give a constant score to all query results.
But we would like to know if there is any query attribute, to control or terminate scoring of terms within a document after a given number of terms "N" ?