Hello,
I do not object against putting lucene-analyzers-1.9-rc1-dev.jar in nutch core but I would like to give another option. I think it is possible to create a plugin which contains and exports this library and make other analysis plugin depend on it. I am not an expert in it but I think such solution is also possible. But it is just a second idea for you to consider - I do not have a preference for any of these options.
Regards
Piotr
Andrzej Bialecki wrote:
Jérôme Charron wrote:

Hi,

I would like to add some language specific analysis plugins. In this first approach, each plugin would be simply a wrapper of the lucene's analyzers. So each analysis-<lang> plugin need to import lucene-analyzers-1.9-rc1-dev.jar in its lib directory. In order to avoid adding this jar in many plugins, I would like to add the lucene-analyzers-1.9-rc1-dev.jar in the nutch core lib.
Any comments? Any objection?


I'm wondering if you could implement this plugin as a more or less automatic wrapper around any Lucene classes that implement Analyzer, i.e. so that it doesn't require recompiling to change/select the language, or add a non-standard analyzer from the classpath. I think it's possible to do this, but you would have to code a special-case for Snowball analyzers, where the default constructor requires an argument. All of this could be read from the plugin.xml or n utch-default.xml files.






-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to