Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Add a new CharFilter that uses a regular expression for the target of replace string in char stream.

      Usage:

      schema.xml
      <fieldType name="textCharNorm" class="solr.TextField" positionIncrementGap="100" >
        <analyzer>
          <charFilter class="solr.PatternReplaceCharFilterFactory"
                      groupedPattern="([nN][oO]\.)\s*(\d+)"
                      replaceGroups="1,2" blockDelimiters=":;"/>
          <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
          <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        </analyzer>
      </fieldType>
      
      1. SOLR-1653.patch
        17 kB
        Koji Sekiguchi
      2. SOLR-1653.patch
        22 kB
        Koji Sekiguchi

        Activity

          People

          • Assignee:
            Koji Sekiguchi
            Reporter:
            Koji Sekiguchi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development