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

Add ability to optionally splitOnNumerics WordDelimiterFilter/Factory

    Details

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

      Description

      Add ability to optionally splitOnNumerics WordDelimiterFilter/Factory

      Default behaviour is to splitOnNumerics as WordDelimiterFilter/Factory does now

      I was having issues with e.g. Java/J2SE becoming split into tokens 'Java','J' '2' and 'SE' which isn't desired behavior in my instance, I wanted this to be tokens 'Java', 'J2SE'. Another option I thought about but not implemented was to have a protected list of words like solr.EnglishPorterFilterFactory

        Attachments

        1. SOLR-876.patch
          15 kB
          Dan Rosher
        2. SOLR-876.patch
          19 kB
          Dan Rosher
        3. SOLR-876.patch
          10 kB
          Dan Rosher

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              rosher Dan Rosher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: