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

EnglishPossessiveFilter should work with Unicode right single quotation mark

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1, 3.2, 3.4, 3.5
    • 3.6, 4.0-ALPHA
    • modules/analysis
    • None
    • New, Patch Available

    Description

      The current EnglishPossessiveFilter (used in EnglishAnalyzer) removes possessives using only the '\'' character (plus 's' or 'S'), but some common systems (German?) insert the Unicode "\u2019" (RIGHT SINGLE QUOTATION MARK) instead and this is not removed when processing UTF-8 text. I propose to change EnglishPossesiveFilter to support '\u2019' as an alternative to '\''.

      Attachments

        1. LUCENE-3748.patch
          5 kB
          Robert Muir
        2. LucenePatch
          2 kB
          David Croley
        3. Patch-Lucene-3748
          3 kB
          David Croley

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rcmuir Robert Muir
            dcroley David Croley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment