: I am trying to subclass DIH to add I am having a hard time trying to get : access to the current Solr Context. How is this possible?
I don't think DIH was particularly designed to be subclassed (i'm suprised it's not final) ... it was built with the assumption that people would write plugins (transformers, datasources, etc...) If you elaborate a little bit more on what you hope to achieve by subclassing, people cna provide more insight into the best way to go about it... http://people.apache.org/~hossman/#xyproblem XY Problem Your question appears to be an "XY Problem" ... that is: you are dealing with "X", you are assuming "Y" will help you, and you are asking about "Y" without giving more details about the "X" so that we can understand the full issue. Perhaps the best solution doesn't involve "Y" at all? See Also: http://www.perlmonks.org/index.pl?node_id=542341 -Hoss