So im clear the patch is all good except to extend it allow for specification of multiple staticField's with the same dest attribute this would (given a multiple value field) populate said field?
Regards On 22 Oct 2010, at 14:56, Markus Jelsma (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/NUTCH-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923861#action_12923861 > ] > > Markus Jelsma commented on NUTCH-924: > ------------------------------------- > > Great! The patch almost works as i expected. It: > 1. adds a single static value to a specified field > 2. adds another value to a field already mapped by Nutch (requires multi > valued field) > 3. adds the last defined staticField value (doesn't require a multi valued > field). > > I think 1 and 2 are desired, this way we can append values to fields. But i > think 3 isn't a desirable feature. If we can use this to append a value for a > multi valued field, then shouldn't it also work if we define multiple > staticField elements with the same dest attribute? > >> Static field in solr mapping >> ---------------------------- >> >> Key: NUTCH-924 >> URL: https://issues.apache.org/jira/browse/NUTCH-924 >> Project: Nutch >> Issue Type: Improvement >> Components: indexer >> Affects Versions: 1.3 >> Reporter: David Stuart >> Assignee: Markus Jelsma >> Fix For: 1.3 >> >> Attachments: nutch_1.3_static_field.patch, >> nutch_1.3_static_field.patch >> >> Original Estimate: 0h >> Remaining Estimate: 0h >> >> Provide the facility to pass static data defined in solrindex-mapping.xml to >> solr during the mapping process. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. >