[ 
https://issues.apache.org/jira/browse/SOLR-6383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100015#comment-14100015
 ] 

ASF subversion and git services commented on SOLR-6383:
-------------------------------------------------------

Commit 1618488 from sha...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1618488 ]

SOLR-6383: RegexTransformer returns no results after replaceAll if regex does 
not match a value

> 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: SOLR-6383.patch, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to