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

special chars and ManagedSynonymFilterFactory

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8
    • 4.10, 6.0
    • None
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment