When we search Elasticsearch for a document (a record), we want to get the relevant information that we are looking for. The Lucene scoring algorithm calculates the probability of receiving relevant information based on relevance.  The Lucene technology aids in the search of a specific record, i.e. a document, based on the frequency of the term in search appearing in the document, how frequently it appears across an index, and query which is designed using various parameters.