Hi,
I am not sure what you mean by "injecting content into Nutch" but to
create a segment you can use SegmentWriter class. To update WebDB -
IWebDBWriter interface might be useful. The best place to learn about
what kind of data is stored in segment is probably fetcher code.
Regards
Piotr
Goldschmidt, Dave wrote:
Hello,
Is there an API of some sort for injecting content into Nutch *without*
using Nutch's crawler? Or does anyone have ideas as to how to approach
this problem? I.e. given a URL, a page of content, metadata about the
page, links, etc., how can I inject this into Nutch without Nutch
performing the crawl?
Thanks in advance for your ideas and insights,
DaveG