Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6163

special chars and ManagedSynonymFilterFactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.8
    • Fix Version/s: 4.10, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Hey,

      I was playing with the ManagedSynonymFilterFactory to create a synonym list with the API. But I have difficulties when my keys contains special characters (or spaces) to delete them...

      I added a key ééé that matches with some other words. It's saved in the synonym file as ééé.

      When I try to delete it, I do:

      curl -X DELETE "http://localhost/solr/mycore/schema/analysis/synonyms/english/ééé"

      error message: %C3%A9%C3%A9%C3%A9%C2%B5 not found in /schema/analysis/synonyms/english

      A wild guess from me is that %C3%A9 isn't decoded back to ééé. And that's why he can't find the keyword?

        Attachments

        1. SOLR-6163-v4.patch
          8 kB
          Timo Hund
        2. SOLR-6163-v3.patch
          6 kB
          Timo Hund
        3. SOLR-6163-v2.patch
          12 kB
          Timo Hund
        4. SOLR-6163.patch
          5 kB
          Vitaliy Zhovtyuk

          Issue Links

            Activity

              People

              • Assignee:
                thelabdude Timothy Potter
                Reporter:
                Wim Kumpen Wim Kumpen
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: