I have been going through the docs of Elasticsearch, and was curious about the relevance scoring fundamentals used in Elasticsearch. So in ES basically three factors—term frequency, inverse document frequency, and field-length norm—are used to calculate the relevant score of a particular document.
Now given the condition I don't want my result to be influenced by term frequency and field-length. How can I achieve it, I read it somewhere that for that you need to provide "not_analyzed" analyzer to the field. But doing that will defeat lot of my functionalities, so the question here arises how to prevent my result being influenced by term frequency and field-length with still using my custom analyzer or other analyzers.