Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11137

patch for ezp search engine for handling japanese, chinese, and korean language

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0beta1
    • 3.9.2
    • Search
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')
      Database and version:
      Browser (and version):

    Description

      zend japan did a modification to the file lib/ezi18n/classes/ezcodemapper.php to ensure that the search for japanese / chinese / korean words was working correctly.

      attached is the original 3.9.2 file, the modified file, and a unix diff file.

      basically, the code reacts on certain characters, and appends a space, and the character at the end of the $normalizedTextArray array, where the regular code would only append the space.

      this new code uses n-grams where n=2 (bigram) to better match search words to the search index values.

      Attachments

        Activity

          People

            rl rl
            jkn jkn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: