You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Vitalii (JIRA)" <ji...@apache.org> on 2016/03/07 14:46:40 UTC

[jira] [Updated] (SOLR-8798) org.apache.solr.rest.RestManager can't find cyrillic synonyms.

     [ https://issues.apache.org/jira/browse/SOLR-8798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitalii updated SOLR-8798:
--------------------------
    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:
{code}
# 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
{code}

But in synonyms file I have row with this word:
{code}
# /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":{
    "ліжко":["кровать"],
    "стілець":["стул"]}}
{code}

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

  was:
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:
{code}
# 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
{code}

But in synonyms file I have row with this word:
{code}
# /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":{
    "ліжко":["кровать"],
    "стілець":["стул"]}}
{code}

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


> org.apache.solr.rest.RestManager can't find cyrillic synonyms.
> --------------------------------------------------------------
>
>                 Key: SOLR-8798
>                 URL: https://issues.apache.org/jira/browse/SOLR-8798
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9.1
>            Reporter: Vitalii
>
> 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:
> {code}
> # 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
> {code}
> But in synonyms file I have row with this word:
> {code}
> # /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":{
>     "ліжко":["кровать"],
>     "стілець":["стул"]}}
> {code}
> This issue have been tested by multiple persons and they can confirm that faced this problem too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org