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

Add support for Ideographic Space to the queryparser - also know as fullwith space and wide-space

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.9
    • core/queryparser
    • None
    • New, Patch Available

    Description

      The Ideographic Space is a space character that is as wide as a normal CJK character cell.
      It is also known as wide-space or fullwith space.This type of space is used in CJK languages.

      This patch adds support for the wide space, making the queryparser component more friendly
      to queries that contain CJK text.

      Reference:
      'http://en.wikipedia.org/wiki/Space_(punctuation)' - see Table of spaces, char U+3000.

      I also added a new testcase that fails before the patch.
      After the patch is applied all junits pass.

      Attachments

        Activity

          People

            michaelbusch Michael Busch
            lafa Luis Alves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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