Re: synonym filtering at index time

2011-09-29 Thread Erick Erickson
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

synonym filtering at index time

2011-09-28 Thread Doug McKenzie
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