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

org.apache.solr.rest.RestManager can't find cyrillic synonyms.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.9.1
    • None
    • None
    • None

    Description

      RestManager doesn't work well with cyrillic symbols.

      I'm able to create new synonyms via REST interface. But I have an error when I try to get created synonyns with via request:

      http://localhost:8983/solr/collection1/schema/analysis/synonyms/18/ліжко

      I get this message in console log:

      # solr/console.log
      4591823 [qtp1281335597-14] INFO  org.apache.solr.rest.RestManager  – Resource not found for /schema/analysis/synonyms/18/%D0%BB%D1%96%D0%B6%D0%BA%D0%BE, looking for parent: /schema/analysis/synonyms/18
      

      But in synonyms file I have row with this word:

      # /solr/collection1/conf/_schema_analysis_synonyms_18.json
      
        "initArgs":{"ignoreCase":false},
        "initializedOn":"2016-03-07T11:57:00.116Z",
        "updatedSinceInit":"2016-03-07T12:19:11.174Z",
        "managedMap":{
          "ліжко":["кровать"],
          "стілець":["стул"]}}
      

      This issue have been tested by multiple persons and they can confirm that faced this problem too.

      Attachments

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              vitalytch@gmail.com Vitalii
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: