What is an inverted index in Elasticsearch?

What is an inverted index in Elasticsearch?

a) A list of all documents in an index
b) A mapping from terms to the documents that contain them
c) A way to store metadata
d) A method for optimizing searches

Answer:

b) A mapping from terms to the documents that contain them

Explanation:

An inverted index is a data structure used in Elasticsearch to map search terms to the documents that contain them, which makes full-text search efficient.

Reference:

Elasticsearch Quiz – MCQ Questions and Answers

Scroll to Top