[
https://issues.apache.org/jira/browse/SOLR-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187568#comment-13187568
]
Jan Høydahl commented on SOLR-2825:
-----------------------------------
Example usage, to remove excess whitespace from a few fields:
{code}
<processor
class="org.apache.solr.update.processor.RegexpReplaceProcessorFactory">
<bool name="enabled">true</bool>
<str name="fl">content_no content_en</str>
<str name="pattern">\s+</str>
<str name="replacement"></str>
</processor>
{code}
> RegexReplace Update Processor
> -----------------------------
>
> Key: SOLR-2825
> URL: https://issues.apache.org/jira/browse/SOLR-2825
> Project: Solr
> Issue Type: New Feature
> Components: update
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Labels: UpdateProcessor
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-2825.patch
>
>
> A processor for search/replace in a field using RegEx.
> Kindly donated by Oslo University
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]