Solr
  1. Solr
  2. SOLR-1266

WordDelimiterFilter: option to disable english possessive stemming

    Details

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

      Description

      WordDelimiterFilter documents that it removes "'s" from subwords but does not provide an option to disable this.
      I would like to have an option to control this, so that in some cases (such as non-english), I can disable this behavior to treat single quote in all contexts like any other delimiter.

      1. SOLR-1266.txt
        9 kB
        Robert Muir

        Activity

        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4
        Hide
        Robert Muir added a comment -

        Yonik, sure. I'll update AnalyzersTokenizersTokenFilters (looks like the right spot) as soon as I can!

        Show
        Robert Muir added a comment - Yonik, sure. I'll update AnalyzersTokenizersTokenFilters (looks like the right spot) as soon as I can!
        Hide
        Yonik Seeley added a comment -

        Robert - back compatibility is always appreciated
        I just committed this. Could you update the docs in the wiki?

        Show
        Yonik Seeley added a comment - Robert - back compatibility is always appreciated I just committed this. Could you update the docs in the wiki?
        Hide
        Robert Muir added a comment -

        Yonik, thanks.

        I wasn't sure about back-compat requirements (or when the current "non-deprecated" constructors were released if ever). I am using solr HEAD.

        so, I apologize if the new compat constructors were unnecessary. let me know if this is the case and I will fix.

        Show
        Robert Muir added a comment - Yonik, thanks. I wasn't sure about back-compat requirements (or when the current "non-deprecated" constructors were released if ever). I am using solr HEAD. so, I apologize if the new compat constructors were unnecessary. let me know if this is the case and I will fix.
        Hide
        Yonik Seeley added a comment -

        Seems reasonable, I plan on committing shortly.

        Show
        Yonik Seeley added a comment - Seems reasonable, I plan on committing shortly.
        Hide
        Robert Muir added a comment -

        patch that adds option, defaulting is existing behavior (true)

        Show
        Robert Muir added a comment - patch that adds option, defaulting is existing behavior (true)

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development