Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7606

CustomAnalyzer.normalize only applies the last token filter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (7.0), 6.4
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This had not been uncovered by testing since we only tested with one token filter at most.

        Activity

        Hide
        jpountz Adrien Grand added a comment -

        Here is a patch.

        Show
        jpountz Adrien Grand added a comment - Here is a patch.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 26760fe0f7e79e7c80af0364c23fe2db74e1e1f7 in lucene-solr's branch refs/heads/branch_6x from Adrien Grand
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=26760fe ]

        LUCENE-7606: Normalization with CustomAnalyzer would only apply the last token filter.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 26760fe0f7e79e7c80af0364c23fe2db74e1e1f7 in lucene-solr's branch refs/heads/branch_6x from Adrien Grand [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=26760fe ] LUCENE-7606 : Normalization with CustomAnalyzer would only apply the last token filter.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 26ee8e9bea70e857aa61764020337ce675066bd1 in lucene-solr's branch refs/heads/master from Adrien Grand
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=26ee8e9 ]

        LUCENE-7606: Normalization with CustomAnalyzer would only apply the last token filter.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 26ee8e9bea70e857aa61764020337ce675066bd1 in lucene-solr's branch refs/heads/master from Adrien Grand [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=26ee8e9 ] LUCENE-7606 : Normalization with CustomAnalyzer would only apply the last token filter.

          People

          • Assignee:
            jpountz Adrien Grand
            Reporter:
            jpountz Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development