Elasticsearch : Strip HTML tags before indexing docs with html_strip filter not working
问题 Given I have specified my html strip char filter in my custom analyser When I index a document with html content Then I expect the html to be strip out of the indexed content And on retrieval the returned doc from the index shoult not contain hmtl ACTUAL : The indexed doc contained html The retrieved doc contained html I have tried specifying the analyzer as index_analyzer as one would expect and a few others out of desperation search_analyzer and analyzer. Non seem to have any effect on the