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

Fix StandardAnalyzer to not mis-identify HOST as ACRONYM by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • modules/analysis
    • None
    • New

    Description

      Coming out of the discussion around back compatibility, it seems best to default StandardAnalyzer to properly fix LUCENE-1068, while preserving the ability to get the back-compatible behavior in the rare event that it's desired.

      This just means changing the replaceInvalidAcronym = false with = true, and, adding a clear entry to CHANGES.txt that this very slight non back compatible change took place.

      Spinoff from here:

      http://www.gossamer-threads.com/lists/lucene/java-dev/57517#57517

      I'll commit that change in a day or two.

      Attachments

        1. LUCENE-1151.patch
          6 kB
          Michael McCandless

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: