nutch/hadoop are you using? conf/log4j.properties file determines
the logging factor. Maybe setting logging level to INFO or DEBUG may
help.
Oh, sorry =). I was trying to index some extra field I calculate from
the URLs. So I followed the instructions at
http://wiki.apache.org/nutch/CreateNewFilter .
I've created two classes: one implementing IndexingFilter and another
extending RawFieldQueryFilter. And this is the plugin.xml file:
Did you added my-plugin to the src/plugin/build.xml file. If not add
it to there, and recompile. And check the class files in the build dir
: check for com.pierpoint/.. if they exist.
I just compiled it, made a jar and put it in an existing nutch
installation. Then I've added it to the regex in the "plugin.includes"
property in nutch-site.xml
However, it seems that your error might have been caused from another
reason. Since the generator runs neither indexingFilters nor
QueryFilters. If you added another plugin (like url normalizer), i
suggest you check that one.
Yes, but the real probem is not being able to see anything. Some part of
nutch is doing something ugly: Swallowing the real error and displaying
a generic one. That's always a bad thing to do. I've tried to enable
some more debug info bu I've failed, I've edited Java's
logging.properties and nutch's log4j.properties (replacing INFO for
DEBUG), but I couldn't get nutch to be more verbose... =/
- Re: Written a plugin: now nutch fails with an error Nicolás Lichtmaier
-