Skip to content
BENIBIX Learn

Keyword Search

Also known as Lexical Search, Full-Text Search

Search that finds pages with the exact words you typed.

Think of it like

Think of it like the index at the back of a book. You look up a word and get its pages.

Example

Lucy searches the parts list for 'XJ-200'. Keyword search finds the one page that names that part straight away.

Why it matters

It is still the best tool for exact matches, and it is a key half of most modern AI search.

Definition

Keyword search finds documents that contain the words in the query. It keeps a table, called an inverted index, that maps each word to the documents that hold it. A query looks up its words and ranks the matches, often with a formula such as BM25. It is fast, cheap and very good at exact names, codes and rare terms. It misses texts that say the same thing in other words.
Each word points to the documents that hold it. The search keeps documents that appear on both lists.

Common mistake

Writing it off as old. In many tests, keyword search alone beats semantic search on names and codes.

Key takeaways

  1. 1
    Exact words. What you type is what it finds.
  2. 2
    Inverted index. Word to documents.
  3. 3
    Great at codes. Misses other wording.

Compare