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

Most of the contributed Analyzers suffer from invalid recognition of acronyms.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      LUCENE-1068 describes a bug in StandardTokenizer whereby a string like "www.apache.org." would be incorrectly tokenized as an acronym (note the dot at the end).

      Unfortunately, keeping the "backward compatibility" of a bug turns out to harm us.
      StandardTokenizer has a couple of ways to indicate "fix this bug", but unfortunately the default behaviour is still to be buggy.
      Most of the non-English analyzers provided in lucene-analyzers utilize the StandardTokenizer, and in v2.3.2 not one of these provides a way to get the non-buggy behaviour

      I refer to:

      • BrazilianAnalyzer
      • CzechAnalyzer
      • DutchAnalyzer
      • FrenchAnalyzer
      • GermanAnalyzer
      • GreekAnalyzer
      • ThaiAnalyzer

        Attachments

        1. LUCENE-1373.patch
          8 kB
          Mark Lassau

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marklassau Mark Lassau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: