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

Brazilian Analyzer doesn't remove stopwords when uppercase is given

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9, 3.0
    • 2.9
    • modules/analysis
    • None
    • not applicable

    • New

    Description

      The order of filters matter here, just need to apply lowercase token filter before removing stopwords

      result = new StopFilter( result, stoptable );
      result = new BrazilianStemFilter( result, excltable );
      // Convert to lowercase after stemming!
      result = new LowerCaseFilter( result );

      Lowercase must come before BrazilianStemFilter

      At the end of day I'll attach a patch, it's straightforward

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            qmx Douglas Campos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified