elasticsearch-Full-Text Search execution process
Check the field type.
The caption Title field is a string type (analyzed) of the parsed full-text segment, which means that the query string itself should also be parsed.
Parses the query string.
quick! the query string In the standard parser, the result of the output is a single item quick. Because there is only one word entry, the match query executes a single underlying term query.
Find matching documents.
Use term queries to find quick in the inverted index and get a set of documents that contain the item, the results of this example are documents: 1, 2, and 3.
Score each document.
Calculate each document relevance score by term query _score, which is the frequency of the word frequency (frequency, that is, in the title field of the relevant document) and the reverse document frequency (inverse documents frequency, the word q The frequency at which Uick appears in the title field of all documents, and how the length of the field (that is, the shorter the field correlation) is combined. See the introduction to correlations.