Hi Breno, On Sun, May 31, 2015 at 12:30 AM, <[email protected]> wrote:
> > I've implemented a custom domain aware Signature to be used in the > deduplication phase. > Nice! Out of curiosity can you share what your use case is? I would be really interested to hear more as I am interested in domain modeling and deduplication is part of this. > > Is there a way of including this custom class in a plugin jar? Absolutely yes. I just need to know more about the structure of the Signature implementation. Did you extend Signature [0]? If so then it will be packaged along with the Nutch .job jar and can be invoked via the following property [1] db.signature.class [0] http://nutch.apache.org/apidocs/apidocs-1.10/index.html?org/apache/nutch/crawl/Signature.html [1] https://github.com/apache/nutch/blob/trunk/conf/nutch-default.xml#L650-L656 > Nutch is not finding the class, and I suspect it lies on the fact that the > plugins are loaded by separate class loaders. > > You may be good invoking this as part of the 'core' codebase instead of as a plugin implementation. Please let us know based upon the above. Thanks Lewis

