Norconex / collector-filesystem

Norconex Filesystem Collector is a flexible crawler for collecting, parsing, and manipulating data ranging from local hard drives to network locations into various data repositories such as search engines.
http://www.norconex.com/collectors/collector-filesystem/
22 stars 13 forks source link

How to make my own fields #75

Open ki-suzuki opened 1 year ago

ki-suzuki commented 1 year ago

I would like to create a custom field, such as 'my_content,' using the 'content' as a basis and then pass it to the committer. Could you please guide me on which Java file I should modify for this purpose?

sakanaosama commented 1 year ago

You can take a look at: https://opensource.norconex.com/importer/v2/apidocs/com/norconex/importer/handler/tagger/impl/ConstantTagger.html Using "ConstantTagger" under "postParseHandlers" allows adding a constant key/value pair metadata after extraction https://opensource.norconex.com/importer/v2/configuration