You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2010/10/12 14:30:32 UTC
[jira] Created: (SOLR-2151) MappingUpdateProcessor
MappingUpdateProcessor
----------------------
Key: SOLR-2151
URL: https://issues.apache.org/jira/browse/SOLR-2151
Project: Solr
Issue Type: New Feature
Components: update
Reporter: Jan Høydahl
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2151) MappingUpdateProcessor
Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl updated SOLR-2151:
------------------------------
Attachment: SOLR-2151-solr1.4.patch
Updated so that fallback value is not set if null or empty
> MappingUpdateProcessor
> ----------------------
>
> Key: SOLR-2151
> URL: https://issues.apache.org/jira/browse/SOLR-2151
> Project: Solr
> Issue Type: New Feature
> Components: update
> Reporter: Jan Høydahl
> Attachments: SOLR-2151-solr1.4.patch, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2151) MappingUpdateProcessor
Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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:
{code:xml}
<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>
</processor>
{code}
> MappingUpdateProcessor
> ----------------------
>
> Key: SOLR-2151
> URL: https://issues.apache.org/jira/browse/SOLR-2151
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org