You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2017/02/14 16:44:41 UTC

[jira] [Created] (SOLR-10135) A Regex URP that can extract multiple fields from a given field

Noble Paul created SOLR-10135:
---------------------------------

             Summary: A Regex URP that can extract multiple fields from a given field 
                 Key: SOLR-10135
                 URL: https://issues.apache.org/jira/browse/SOLR-10135
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul


example: 
{code}
processor=Regex&Regex.fieldPattern=fullName[firstName,lastName]:Mr(\w*)\b(.*)
{code}
This would apply the regex on the field {{fullName}} and extract two extra fields  {{firstName}} and {{lastName}} from {{group(1)}} and {{group(2)}} respectively 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org