Functionality that provides details of how a score was calculated for an individual document
Every document returned by an Atlas Search query is assigned a score based on relevance. Many factors can influence a document's score, including the position of the search term in the document, the frequency of occurrence of the search term in the document, the type of operator the query uses, the type of analyzer the query uses, etc.
We do have an explain functionality in Atlas Search, which returns information about the $search query plan and execution statistics. The results returned by explain("executionStats") has a section on score, which provides statistics related to scoring documents in the result set. However, while the aforementioned statistics information provides details on the number of invocations and the nanos elapsed, it does not exactly tell "how" the score was calculated for each document.
This is an enhancement request for introducing such a functionality that can provide the specific details on how the score(s) are calculated for individual document(s).