How document frequency is getting updated in Elasticsearch?

How doc frequency getting updated ? Whenever we update new documents or entries? Or any thing which ES decides? we have analyzed and could not find a proper solution for this ?

Can somebody help on this ?

What do you mean by updated?

While adding a new document how doc frequency is getting updated ?

A document is updated whenever an update is sent to ES. If nothing is sent then nothing changes.
Is that what you mean by frequency?

For Ex: If I am searching for a word 'abc technology solution india' then the word india appears in almost all the document so the query response time is very high. How to limit this doc frequency to get the results faster ?

How the term frequency is calculated when adding or updating a document is my question . How elasticsearch does this ? Ex : If I have word India 5 times in a 2 documents and if I add a new document with the word india then how the term frequency is calculated and stored ?

You may want to read https://www.elastic.co/guide/en/elasticsearch/reference/5.0/index-modules-similarity.html#index-modules-similarity and https://www.elastic.co/guide/en/elasticsearch/guide/current/controlling-relevance.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.