Scoring Overview

In order to understand the scoring parameters presented by the Infinit.e API, it is necessary to have a basic understanding of the query and scoring process:

 1. User query is turned into an ElasticSearch query and applied across the cluster

 2. The documents are ordered by their Lucene score (or optionally just by descending date).

3. Each returned document is then assigned a Significance score as described below.

 4. Significance and relevance scores are then normalized against each other based on the ratio specified in advanced options (default 2:1 in favor of significance) and combined, with the mean score set to 100

5. The top scoring documents or entities are returned to a query.


Significance

1. All entities identified within a document are assigned a significance score based on...

2. Each document is also assigned a significance score, an aggregate of all entity scores within

3. Entities are also assigned a "datasetSignificance", an average of the significance scores of all documents in which it appears

4. For each entity/document pair, a TF-IDF score is generated, the entity's "significance". This score is adjusted in a number of ways:

 

Relevance 

 Relevance measures how well a document matches your query, as opposed to significance which measures how well an entity matches your query


In summary: Relevance measures how well a document matches the user's query; Significance measures how well an entity matches the user's query; Document significance is simply the sum of the entity significances.