I am trying to use stopwords, synonym and stemming analyzers at index time but would like to avoid query time analyzer altogether (nothing more than a
standard analyzer would do). Synonyms are defined in expanded form like
Here is my ideal setup:
default analzyer which consists of stopwords, synonyms and stemming filters
default_search analyzer which is of type
stopwords and synonyms work fine, however stemming does not.
The problem with the above approach is the original (uninflected) information is lost after the stemming filter before indexing.
Is there any way/configuration to achieve my ideal setup (i.e. skipping stemming analyzer at query time)?
One alternative I thought of is to specify all stemming rules as synonyms in expanded form, but not sure if it is the best way to achieve it.