liveBook · Manning

Synonym

A synonym is a word or expression with the same or a closely related meaning as another word or expression, particularly in a given context.

How 2 Manning books explain it

Elasticsearch in Action, Second Edition

A synonym is an alternative word or phrase treated as semantically equivalent to another word for search or text processing.

How it is used
Improves full-text search relevance by matching varied user vocabulary during text analysis.
How deep it goes
Defines synonyms and demonstrates token-filter configuration, _analyze testing, and filesystem loading without detailing token-stream internals.
Examples
Uses passion, cognizance, soccer, football, author, writer, and synonyms.txt to demonstrate missed matches, mappings, and normalization.
What you can do after
Apply it via an Elasticsearch synonym token filter, _analyze API, or synonyms_path file to test and maintain synonym mappings.

Read how Elasticsearch in Action, Second Edition explains synonym →

AI-Powered Search

A synonym is a replacement term sequence that represents the same or a very similar thing as another term sequence.

How it is used
Supports search engines through synonym lists that substitute equivalent or closely related term sequences.
How deep it goes
Defines synonyms, distinguishes alternative labels, and relates mappings to taxonomies; it stops short of implementation details.
Examples
Uses human, homo sapiens, mankind, software engineer, and software developer as synonym examples.
What you can do after
Evaluate/understand whether term sequences represent the same or a very similar thing in a search domain.

Read how AI-Powered Search explains synonym →

Related concepts

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.