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

PATCH: Configurable language for SnowballPorterFilterFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • search
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: