Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1061

Improve RegexTransformer to create multiple columns from regex groups

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      example

      <field column="full_name" regex="Mr(\w*)\b(\w*)" groupNames="firstName,secondName"/>
      

      This is more efficient in extracting multiple values from a single String. if some groups need to be omitted just leave it empty

        Attachments

        1. SOLR-1061.patch
          8 kB
          Noble Paul
        2. SOLR-1061.patch
          5 kB
          Noble Paul
        3. SOLR-1061.patch
          4 kB
          Noble Paul

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: