liveBook · Manning

Keyword query

A keyword query is a search request expressed primarily as words or terms that an information-retrieval system matches against indexed content.

How 3 Manning books explain it

Grokking Relational Database Design

Keyword searching is a query technique that finds records containing specified words or terms in text.

How it is used
Supports movie-title searches requiring keyword, partial-word, or fuzzy matching.
How deep it goes
Defines token-based full-text indexes, contrasts LIKE searches, and shows MySQL, MariaDB, and PostgreSQL implementations.
Examples
Uses movie titles, LIKE '%exciting%', and MATCH ... AGAINST('exciting' IN NATURAL LANGUAGE MODE).
What you can do after
Apply it via full-text indexes and database-specific search syntax for movie-title queries.

Read how Grokking Relational Database Design explains keyword query →

MongoDB 8.0 in Action, Third Edition

A search query is an expression specifying terms, phrases, conditions, or patterns to match against indexed content.

How it is used
Supports full-text retrieval by matching keyword tokens against an Apache Lucene inverted index.
How deep it goes
Explains tokenization, lowercasing, inverted-index matching, relevance scoring, and logical operators.
Examples
Uses food-vendor, city, and street queries against two inspection documents.
What you can do after
Evaluate/understand how query terms retrieve documents and influence their relevance scores.

Read how MongoDB 8.0 in Action, Third Edition explains keyword query →

Elasticsearch in Action, Second Edition

A search query is a request that evaluates query criteria against indexed documents to retrieve matching results.

How it is used
Retrieves indexed documents through the _search API using structured criteria or full-text matching.
How deep it goes
Explains analysis, token matching, relevance, and Boolean operators, but defers detailed precision and recall treatment.
Examples
Demonstrates a books index, a Java Complete Guide title search, highlighting, and explicit OR and AND operators.
What you can do after
Apply it via the Elasticsearch _search endpoint with Query DSL, choosing token matching and Boolean behavior for the search need.

Read how Elasticsearch in Action, Second Edition explains keyword query →

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.