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
Assignee: Andrzej Bialecki
Fix For: 1.4
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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira