I believe it is complaining about this:
*public void addIndexBackendOptions(Configuration conf) {
LuceneWriter.addFieldOptions(MP3_TRACK_TITLE,
LuceneWriter.STORE.YES, LuceneWriter.INDEX.TOKENIZED, conf);
LuceneWriter.addFieldOptions(MP3_ALBUM, LuceneWriter.STORE.YES,
LuceneWriter.INDEX.TOKENIZED, conf);
LuceneWriter.addFieldOptions(MP3_ARTIST, LuceneWriter.STORE.YES,
LuceneWriter.INDEX.TOKENIZED, conf);
LuceneWriter.addFieldOptions(MP3_GENRE, LuceneWriter.STORE.YES,
LuceneWriter.INDEX.TOKENIZED, conf);
LuceneWriter.addFieldOptions(MP3_RELEASE_DATE,
LuceneWriter.STORE.YES, LuceneWriter.INDEX.TOKENIZED, conf); *
You no longer need to do this in your plugin.
Instead you would replace with something like this:
private static final String MP3_TRACK_TITLE = "track_title";
public NutchDocument filter(NutchDocument doc, Parse parse, Text url,
CrawlDatum datum, Inlinks inlinks) throws IndexingException {
doc.add(MP3_TRACK_TITLE, "title_for_this_track_goes_here");
}
basically don't use any of the LuceneWriter classes
--
View this message in context:
http://lucene.472066.n3.nabble.com/Older-plugin-in-Nutch-1-4-tp3854202p3858292.html
Sent from the Nutch - User mailing list archive at Nabble.com.