Added support for char filters in the analyze API

Closes #5148
[TEST] removed explicit index deletion from AnalyzeActionTests, more ensureGreen