Stemming reduces a word to its stem by cutting off endings such as -s, -ed and -ing. A search index then stores and matches the stem instead of each form: once "connect", "connected", "connecting" and "connection" are all filed under "connect", a query with one form finds text that uses another. Search engines, site search tools and text analysis software use it so that grammar doesn't get in the way of a match.
How a stemmer works
Most stemmers follow rules. An English stemmer strips endings such as -s, -ing, -ed and -ness, with exceptions for short words and spelling changes. The best-known rule set is the Porter stemmer, which Martin Porter wrote in 1979 and published in 1980. It is still widely used for English, and his later Snowball project offers stemmers for many other languages. Martin Porter
The stem doesn't have to be a real word. "Happy" and "happiness" can both become "happi"; "jumping" and "jumpiness" can both become "jumpi". That's fine, because the stem is only a matching key. Nobody reads it.
A second approach uses a dictionary instead of rules. A dictionary can handle irregular forms that rules miss, such as "mouse" and "mice" or "be", "am" and "are". Closely related is lemmatization, which looks a word up together with its part of speech and returns the dictionary form, so "better" can become "good". Search tools usually start with rule-based stemming because it's fast, needs little memory and works well out of the box. Elastic docs
Where stemming goes wrong
Stemming trades precision for reach. It finds more matching documents, and some of them are wrong:
- Over-stemming joins words with different meanings. "Probable" doesn't mean "able to be probed", but a stemmer that removes -able treats it like "probe". A search engine might also reduce "skies" and "skiing" to the same stem.
- Mis-stemming removes something that only looks like an ending. Take -ly off "reply" and you get "rep".
- Under-stemming takes off too little, so forms that belong together stay apart.
How much stemming helps depends on the language. Porter himself notes that early tests on English found no clear gain, that a 1995 study then found real but sometimes small gains which varied a lot from one collection to another, and that researchers have always assumed bigger gains for languages with more word endings, which is nearly all of them. Some languages, such as Chinese, don't suit stemming at all. Snowball
What stemming means for SEO
Google doesn't publish whether it uses a classic stemmer. What it does say covers the practical question: its language systems, including a synonym system, connect queries to pages even when the page doesn't use the exact words. Its SEO starter guide tells you not to worry about anticipating every variation of how people might search. It also warns that repeating the same words over and over, even in variations, is keyword stuffing.
So you don't need one page for "running shoe" and another for "running shoes", and you don't need to work every word form into the text. Write naturally for the search intent and let the variants come where they fit. If you want to see which forms people actually type, compare them in keyword research rather than guessing.
Google Ads is explicit about it. Exact and phrase match keywords can match close variants, and those include stemmings, Google's example being "floor" and "flooring". There's no opt-out, so check your search terms report and add negative keywords where a variant brings the wrong traffic. Google Ads Help More on this under match types.
Stemming in your own site search
If you run search on your own site, stemming is usually a setting you control. In Elasticsearch, for example, it's a token filter in the analyzer, and the docs recommend using the same stemmer when you index and when you search. When a stemmer joins words that shouldn't match, such as product names, you can protect them from stemming with an override or an exclusion list.
Stemming is one step of natural language processing and a long-standing tool of information retrieval. Indexes built on it are covered under indexing.