nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (Updated) (JIRA)" <>
Subject [jira] [Updated] (NUTCH-1197) Add statically configured field values to solrindex-mapping.xml
Date Thu, 03 Nov 2011 23:17:32 GMT


Andrzej Bialecki  updated NUTCH-1197:

    Attachment: NUTCH-1197.patch

Patch with the implementation. I added some javadocs, and a unit test for both the old and
the new functionality.
> Add statically configured field values to solrindex-mapping.xml
> ---------------------------------------------------------------
>                 Key: NUTCH-1197
>                 URL:
>             Project: Nutch
>          Issue Type: Improvement
>          Components: indexer
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.4
>         Attachments: NUTCH-1197.patch
> In some cases it's useful to be able to add to every document sent to Solr a set of predefined
fields with static values. This could be implemented on the Solr side (with a custom UpdateRequestProcessor),
but it may be less cumbersome to add them on the Nutch side.
> Example: let's say I have several Nutch configurations all indexing to the same Solr
instance, and I want each of them to add its identifier as a field in all documents, e.g.
"origin"="web_crawl_1", "origin"="file_crawl", "origin"="unlimited_crawl", etc...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message