Biggest red flag is "KeywordTokenizerFactory". You don't
say whether your input is multi-word or not, but
that tokenizer does NOT break up input, so
even the input "my watche" would not trigger a
synonym substitution. Try something like
WhitespaceTokenizer.
Second red flag. Changing your analy
Trying to add in synonyms at index time but it's not working as
expected. Here's the schema and example from synonyms.txt
synonyms.txt has :
watch, watches, watche, watchs
schema for the field :
positionIncrementGap="100">
words="stopwords_en.txt" enablePositionIncrement="true"/>
ignoreCase