nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: Creating different binary databases for indexing
Date Tue, 09 May 2006 22:04:00 GMT
Dennis Kubes wrote:
> I am doing that and I have changed Indexer to retrieve the 
> ObjectWritable just as it does with the Inlinks and CrawlDb.  But my 
> problem is that those objects are passed into the indexing filters 
> directly (well parse text and data are wrapped in parse, but it still 
> goes in directly).  What if I want to pass another object to the 
> filters?  What would be a good way to do that without changing the 
> IndexingFilter interface?

Use CrawlDatum.metaData. You can put any Writable there.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Mime
View raw message