liveBook · Manning

Search index

A search index is a data structure that organizes searchable representations of content to support efficient retrieval in response to queries.

How 3 Manning books explain it

MongoDB 8.0 in Action, Third Edition

A search index is an index structure that organizes searchable content for efficient full-text or relevance-based retrieval.

How it is used
Enables efficient full-text retrieval of MongoDB documents through Atlas Search queries.
How deep it goes
Explains term-to-document mappings, field configuration, creation, readiness checks, and resource trade-offs without implementing the index structure.
Examples
Uses an inspections collection for CLI and local index creation, then fuzzy search with filters and search-score sorting.
What you can do after
Operate/configure it with Atlas CLI or MongoDB methods, verify readiness, and query the named index with `$search`.

Read how MongoDB 8.0 in Action, Third Edition explains search index →

Machine Learning System Design

A search index is a data structure that organizes searchable representations so that relevant items can be retrieved efficiently.

How it is used
Supports photo retrieval by organizing item vectors for filtered, low-latency candidate search and relevance ranking.
How deep it goes
Explains separate batch-update and real-time-query paths, scale targets, and model-triggered rebuilds without detailing index internals.
Examples
Uses a PhotoStock search API, daily photo indexing, model-triggered reindexing, Qdrant evaluation, and ranked photo results.
What you can do after
Operate/configure a search service with separate index maintenance, query handling, filtering, candidate retrieval, and ranking responsibilities.

Read how Machine Learning System Design explains search index →

Natural Language Processing in Action, Second Edition

A search index is a data structure that organizes terms and their associated documents to support efficient retrieval.

How it is used
Supports efficient keyword retrieval and serves as an initial filter for information-retrieval systems.
How deep it goes
Explains vocabulary construction, stop-word removal, binary vectors, compression, and constant-time similarity, but not index internals.
Examples
Uses extracted vocabulary listings, an imaginary book corpus, and Elasticsearch, Solr, and PostgreSQL.
What you can do after
Apply binary bag-of-words vectors to filter documents for information retrieval and full-text search.

Read how Natural Language Processing in Action, Second Edition explains search index →

Also covered in

What to know first

Related concepts

Questions about search index

What is search index?

A search index is a data structure that organizes searchable representations of content to support efficient retrieval in response to queries.

Which Manning books explain search index?

MongoDB 8.0 in Action, Third Edition, Machine Learning System Design and Natural Language Processing in Action, Second Edition.

What should I know before learning search index?

Manning books that teach search index usually introduce similarity search, embedding, JSON and metadata first.

What kinds of search index are there?

Kinds of search index include ivfflat.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.