Many languages have processes by which words can change systematically. When the changes involve plural/singular, gender, or verb tense or mood changes, these are referred to linguistically as inflection. For example, the terms book, booked, and booking are inflectionally related in English.
Legacy search engines sometimes use a process called stemming, which removed suffixes from words using a set of language-specific rules.This process indexes booked and booking as the simple stem, book. All documents that use inflected versions of book can then be found in a single search for "book".
Stemming is not recommended in AIE!
AIE has lemmatization enabled for all supported languages. Stemming is incompatible with lemmatization, and is disabled by default.
View incoming links.
Stemming is not available for all languages. See the individual language pages for more information.
To enable stemming for core AIE linguistics (of English), you can modify the EnglishTokenizer to perform stemming instead of lemmatization. Edit the <project-dir>/conf/features/core/TokenizerModel.english.xml file, adding an f:property element with name "lemmas" and value "stem":
Stemming modifies incoming text, so you'll have to re-index any documents that have been ingested up to this point. A mix of stemmed and unstemmed documents in an index produces incomplete search results.