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

PATCH: Configurable language for SnowballPorterFilterFactory

    Details

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

      Description

      With this patch, the language used by SnowballPorterFilterFactory is configurable, for example:

      <filter class="solr.SnowballPorterFilterFactory" language="French"/>

      Invalid languages will cause a ClassNotFoundException when the filter is created (so at search time possibly, not at initialization time).

        Attachments

        1. SnowballPorterFilterFactory.patch
          2 kB
          Bertrand Delacretaz
        2. SnowballPorterFilterFactory.java
          2 kB
          Bertrand Delacretaz

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              bdelacretaz Bertrand Delacretaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: