lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] Updated: (SOLR-2151) MappingUpdateProcessor
Date Tue, 12 Oct 2010 12:36:46 GMT


Jan Høydahl updated SOLR-2151:

    Attachment: SOLR-2151-solr1.4.patch

First crash-implementation, without any tests or anything. It only supports a mapping file
similar to the synonyms.txt file format, but currently supports only a simple from=>to
mapping. No expand, no case insensitive, etc.

The patch SOLR-2151-solr1.4.patch is against the 1.4 branch, not trunk.

Configure the UpdateProcessor like this:

<processor class="org.apache.solr.update.processor.MappingUpdateProcessorFactory">
  <str name="inputField">myInputField</str>
  <str name="outputField">myOutputField</str>
  <str name="idField">id</str>
  <str name="fallback"></str>
  <str name="mappingFile">innbinding-sokeord_mapping.txt</str>

> MappingUpdateProcessor
> ----------------------
>                 Key: SOLR-2151
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Jan Høydahl
>         Attachments: SOLR-2151-solr1.4.patch
> Implement an UpdateProcessor which can read one field, lookup the value in a dictionary
and write the mapped value to another field.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message