You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2015/01/29 10:13:35 UTC

[jira] [Updated] (NUTCH-1197) Add statically configured field values to solrindex-mapping.xml

     [ https://issues.apache.org/jira/browse/NUTCH-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Nioche updated NUTCH-1197:
---------------------------------
    Assignee:     (was: Julien Nioche)

> Add statically configured field values to solrindex-mapping.xml
> ---------------------------------------------------------------
>
>                 Key: NUTCH-1197
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1197
>             Project: Nutch
>          Issue Type: Improvement
>          Components: indexer
>            Reporter: Andrzej Bialecki 
>             Fix For: 1.11
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)