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

Reply via email to