[
https://issues.apache.org/jira/browse/SOLR-6383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099334#comment-14099334
]
Alexander Kingson edited comment on SOLR-6383 at 8/15/14 11:14 PM:
-------------------------------------------------------------------
This is a quick fix. It is tested only for the above mentioned case.
was (Author: alxksn):
This is a quick fix. It is tested only in the above mentioned case.
> regexTransformer returns no results if there is no match
> --------------------------------------------------------
>
> Key: SOLR-6383
> URL: https://issues.apache.org/jira/browse/SOLR-6383
> Project: Solr
> Issue Type: Bug
> Reporter: Alexander Kingson
> Attachments: regexTransformer.patch
>
>
> When used in data-import config file to replace spaces in title with _
>
> <field column="title_underscore" regex="\s+" replaceWith="_"
> sourceColName="title" />
> regexTransformer returns empty results for titles without spaces, i.e. when
> there is no match for the regex. According to the description it is
> equivalent to replaceAll which returns string when there is no match.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]