Can anyone explain with an example, In synonym filter use of expand and lenient attributes. I went through this but still, I didn't get it. Thank you
Use of elasticsearches synonym filter's expand and lenient properties
279 views Asked by randomDev At
1
Best way to understand Elasticsearch concepts is by testing it on some test index.
lenient
true, Ignore the errors as explained in the same document, you can change the param tofalse
and try to create the index with same requestYou will get following error from Elasticsearch
Error message is very clear, bar was added to stop words list which will be executed before
synonym
filter and removesbar
from token filter hence it's not available forsynonym
filter.