Hi,

I need to add several fields to the index extracted by a custom plugin I try
to write.
It is based on the Recommended Parser from
http://wiki.apache.org/nutch/WritingPluginExample.

There the Plugin adds one field called "recommended" to the index, but my
plugin needs to add
severak fields at once.
Consider the following HTML Snippet:
<div class="geo">12333</div>

I would need to add the following fields:
geo-latitude and geo-longitude with values 123 and 33.

I cannot see how I would edit that sample to add more than one field at a
time, I assume the indexing
filter extension is the right point?
Any ideas, sample code?

regards and thanks for your help.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Nutch-Plugin-add-several-fields-at-once-tp2981579p2981579.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to