I've develop a custom analyzer in form of a plugin. I've override the following method to return my custom TokenStreamComponents.
protected TokenStreamComponents createComponents(final String fieldName)
but I note that I just access to field name and its value while I need to have access to a especial filed in the doc as well.
How can I do that?