A search engine needs to find possible answers and decide which are relevant to the query. It may compare words, work with their meaning and combine several approaches. Lexical, full-text and semantic search are therefore not three separate generations with a clear boundary between them in every case.
For SEO, understanding the individual tasks is more useful than memorizing a list of update names. In this article, we separate text processing, representation, candidate retrieval and ranking. This is an accessible explanation of the methods. It is not a description of Google’s complete internal architecture or a claim that it uses every approach below in exactly this form.
First, distinguish four different tasks
Imagine your own document library. First, you need to collect the documents and prepare them for search. Then you need a way to represent their content: for example, a list of weighted words or a numerical vector. When a query arrives, you select candidates from this library. Finally, you rank them by your chosen definition of relevance and possibly other criteria.
Indexing prepares content for search. Representation determines how content is captured for comparison. Retrieval finds candidates, and ranking orders them. If another model evaluates results that have already been retrieved, this is called reranking. In a particular system, these tasks may overlap, but it helps not to mix them when explaining how search works.
Confusing these layers leads to shortcuts such as “full-text search cannot assess relevance” or “new AI has replaced keywords”. One method may use word matching while evaluating result order in considerable detail. Another may find a semantically similar text that lacks the correct product code.
Lexical search: matching words is more than Ctrl + F
For the simplest illustration, press Ctrl + F and search for part of this page. That demonstrates string matching, not the full capabilities of lexical methods. Lexical search works with terms: the text units into which a system has divided the content and query. It therefore need not require an exactly identical rendering of a whole sentence.
Text analysis can, for example, normalize capitalization, process word forms or add synonyms. It depends on the language and configuration. It is not true that lexical methods are inherently unable to handle Czech or can never return ranked results. Nor is removing every preposition a mandatory part of good search; in some queries, they carry important meaning.
Full-text search means searching the textual content of documents, not one particular “smarter” method. Typical full-text systems use lexical queries and models to score them. They may support other search approaches alongside these.
Lexical matching is useful where exact identifiers matter: a part number, product name, quoted sentence or specific attribute. If a user is looking for a particular phone model, a semantically similar model may not be the right answer. Semantics does not remove that requirement.
TF–IDF and BM25: weighting terms and scoring matches
TF–IDF combines a term’s frequency in a document with its rarity across the collection. TF stands for term frequency, and IDF for inverse document frequency. A word occurring frequently in one document may be important to that document; if it occurs almost everywhere, however, it is less useful for distinguishing documents.
There are multiple variants of TF–IDF. Frequency need not always be just the number of occurrences divided by all words in the document, and normalization can also account for length. It is therefore inaccurate to base the entire difference between TF–IDF and BM25 on the claim that the former ignores length and the latter introduced it. The Elasticsearch similarity model documentation provides a useful overview of variants, including a specific TF–IDF example.
BM25 is a widely used model for scoring lexical matches. Among other things, it accounts for term rarity, term-frequency saturation and document-length normalization. Saturation means that each additional repetition of the same word does not keep adding the same amount to the score. Parameters let you adjust the influence of frequency and length.
In a hypothetical camera catalog, repeatedly using the word “camera” may therefore not help a document in proportion to the number of repetitions. More distinguishing terms may matter more for a specific query. Do not infer an ideal Google keyword density from this: we are explaining a property of a model, not a universal SEO calculator.
Sparse and dense: two ways to represent content
Text can be represented as a vector, an ordered set of numbers. In a traditional vocabulary-based representation, each dimension may correspond to a particular term and its value to that term’s weight. Because one document contains only part of the whole vocabulary, many values will be zero. This representation is called sparse. Vector comparison did not begin with modern language models.
A dense embedding is a learned dense representation in a space with a given number of dimensions. These usually do not have a simple meaning such as “one dimension = one specific word”. The model converts content into values that make use of relationships captured during learning. Vector similarity can help find semantically related content without exact word matching. The dense vector search documentation provides an overview of this approach.
This is not a reduction in the number of “important vectors” at the expense of less important ones. Sparse and dense describe a property of the representation. Nor does sparse necessarily mean purely literal search: learned sparse models can expand text with related terms, such as ELSER in Elasticsearch. The distinction is therefore not a precise division between old non-semantic and new semantic methods.
The historically significant 2013 research by Tomáš Mikolov and coauthors addresses learning continuous vector representations of words. Word2vec is not a term for converting TF–IDF into a sparse embedding, nor is it a complete search engine. Word vectors should also not be confused, without explanation, with contextual representations of entire sentences or documents.
Semantic search: meaning helps, but does not prove correctness
If you type the Czech word “kola” into a search engine, without further context it is unclear whether you want bicycles, car wheels or the drink cola. The queries “kola na horské výlety” (bikes for mountain trips) and “kola na zimní pneumatiky” (wheels for winter tires) provide different clues. Semantic methods can use meaning and context to find appropriate content even when it is worded differently.
Do not elevate that capability into infallible understanding. A semantically close result may overlook a negation, numerical limit, product version or important condition. Similarity is not the same as factual correctness. Quality depends on the model, data, language and how the query and document are prepared.
For a website, the implication is to discuss the topic specifically. Do not omit exact identifiers and specifications for products; explain the terms of a service and the context in which a guide applies. Replacing every ordinary word with a synonym in an attempt to demonstrate semantic breadth will not help. Readers and systems need to know what the page is actually about.
Hybrid search and subsequent reranking
Hybrid search combines multiple approaches. A typical example combines lexical matching and vector similarity, merging their results into one ranking. Elastic’s documentation describes such a combination of full-text and vector search. It is a concrete example of available technology, not proof of an identical implementation at Google.
Retrieved candidates may then undergo reranking: a further evaluation of their relationship to the query. Retrieval may prioritize broad coverage of possible answers, while the next step selects their order more carefully. The precise implementation and costs depend on the system; two methods do not automatically mean twice the maintenance or exactly twice as much data.
If you are working on search for your own online store or documents, test it on real tasks. Include product names and codes, naturally phrased questions and queries for which no answer exists. Do not judge the system only by whether it produces an impressive result in one demonstration. This is a recommendation for your own testing, not a benchmark carried out here.
Where query fan-out and answer generation fit
An AI application may split a complex query into related searches, retrieve supporting material and use it to produce an answer. Query decomposition, retrieval and generation are not the same task, however. Nor does a language model necessarily search the web for every answer. When a system uses externally retrieved material during generation, this is called RAG, or retrieval-augmented generation.
Google says that AI Overviews and AI Mode may use query fan-out. This does not disclose the complete architecture of these products or every other AI application. A practical content map and the limits of observing subqueries are covered in the separate article Query Fan-Out.
What is documented about Google’s systems
Rather than a supposed complete chronology, start with the official guide to ranking systems. Google lists BERT, for example, for understanding how combinations of words express meaning and intent. RankBrain helps understand relationships between words and concepts. Neural matching connects representations of concepts in queries and pages. Passage ranking uses individual passages to better understand a page’s relevance.
The guide lists Hummingbird, Panda and Penguin as historical systems incorporated into successor or core systems. They should therefore not be described as several separate filters operating today with precisely known scores. Product names such as Bard or Gemini are not, in themselves, names of another ranking update.
Google publicly explains many principles, but does not publish the full weights and implementation of every system. A technical article, patent or experiment can provide useful evidence. On its own, however, it does not prove specific production behavior in the search engine. That boundary must be maintained even when a hypothesis sounds technically convincing.
What this actually means for SEO
Use the terms people use for your product or problem, and give them context. Write specific answers with conditions and sources. Ensure technical accessibility, connected internal links and a working page. Do not convert textbook models into a supposed ideal text length or keyword density.
If you want to establish what your website lacks relative to market needs, continue with SEO gap analysis. If you do not know whether technology, structure or content is holding you back, an SEO audit may be the next step. Understanding the methods helps you ask better questions; it does not replace data about your specific website.









