Elastic search multiple analyzers for one field

159 Views Asked by At

I have a field "name" and I want to analyze it with two analyzers: name typed StringType analyzer CustomAnalyzer("partial") analyzer CustomAnalyzer("all")

The problem is that in analyzer function it sets the analyzer one value. The result analyzer will be just "all" custom analyzer. How can I do set these two analyzers to one field?

0

There are 0 best solutions below