Access analyzer defined in index settings from plugin


(Jconwell) #1

When I created an index, I define a new named analyzer in my index settings via json. This way I can have my own TokenFilter chain.

I'd like to be able to get a hold of an instance of this named analyzer inside my plugin and call it. I've tried to add the AnalysisService to a constructor that gets called with @Inject, but I get a bunch of errors about how the objects required by the AnalysisService constructor aren't bound.

Is there any way to either get an instance of the analyzer or the AnalysisService?


(system) #2