Stemmed search
Stemmed searches are a good way to search for words with the same word stem and regular endings.
Searching for the stemmed form of a term means reducing the term to its word stem and then searching on the word stem (also known as the base word). For example, searching for the word grows as a stemmed search returns content with the words grow, grows, and growing, but not growth, grown, or grew.
- Terms marked for fuzzy search
- Terms that contain wildcard characters
- Phrases (text surrounded by double quotation marks)
- Same-sentence searches
For example, if you specify election OR nomination OR president~ OR hold* OR (King Lear) WITHIN SENTENCE as the search terms and then elect to perform a stemmed search, the stemmed search will apply only to the terms election and nomination.
Support for stemmed searches is provided by DB2® Net Search Extender. For complete information about stemmed searches, see the Net Search Extender Administration and User's Guide.
- The word "better" has "good" as its lemma. This link is missed by stemming, because it requires a dictionary look-up.
- The word "walk" is the base form for word "walking", and so "walk" is matched in both stemming and lemmatization.
- The word "versioning" can be either the base form of a noun or a form of a verb (meaning to version) depending on the context. Lemmatization can determine the correct lemma for "versioning" based on context. For example, in the sentence, "The versioning support in this product is fantastic," the lemmatization algorithm selects the noun form of "versioning" and identify the lemma as "versioning" which is the original search token.