Solr
  1. Solr
  2. SOLR-1593

reverse wildcard filter doesn't work for chars outside the BMP

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      reverse wildcard filter doesn't work for chars outside the BMP. reversing characters that take up more than one Java char creates unpaired surrogates, which get replaced with the replacement character at index time. See https://issues.apache.org/jira/browse/LUCENE-2068

      1. SOLR-1593.patch
        7 kB
        Yonik Seeley

        Activity

        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1.0 release

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1.0 release
        Hide
        Hoss Man added a comment -

        Correcting Fix Version based on CHANGES.txt, see this thread for more details...

        http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

        Show
        Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
        Hide
        Yonik Seeley added a comment -

        committed.

        Show
        Yonik Seeley added a comment - committed.
        Hide
        Robert Muir added a comment -

        patch looks good to me.
        i guess in the future if libs get updated, you can invoke the static method from lucene again (but it requires Version arg for back compat...)

        Show
        Robert Muir added a comment - patch looks good to me. i guess in the future if libs get updated, you can invoke the static method from lucene again (but it requires Version arg for back compat...)
        Hide
        Yonik Seeley added a comment -

        Patch, with tests, using a slightly modified version of Robert's reverse method from LUCENE-2068.

        Show
        Yonik Seeley added a comment - Patch, with tests, using a slightly modified version of Robert's reverse method from LUCENE-2068 .

          People

          • Assignee:
            Yonik Seeley
            Reporter:
            Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development