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
301 views Asked by randomDev At
1
Best way to understand Elasticsearch concepts is by testing it on some test index.
lenienttrue, Ignore the errors as explained in the same document, you can change the param tofalseand 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
synonymfilter and removesbarfrom token filter hence it's not available forsynonymfilter.