Java API: Analyze with field-specific analyzer


(Felix S.) #1

Hi!

I'm currently using client.admin().indices().prepareAnalyze() for all
my analysis needs. So far this works just fine, but now I need to
duplicate ES's behaviour during search, which uses field-specific
analyzers. I know I can specify the analyzer explicitly, but I don't
currently know which analyzer for a specific field is in place. How
could I do this?

Thanks!

Felix


(system) #2