[ 
https://issues.apache.org/jira/browse/SOLR-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076333#comment-14076333
 ] 

Timothy Potter commented on SOLR-6163:
--------------------------------------

Hi Vitaly, Thanks for posting a patch ... looks good, except I think we should 
add some specific tests for this issue in the TestManagedStopFilterFactory and 
TestManagedSynonymFilterFactory for two reasons: 1) to guard against regression 
in case something in the RestManager layer changes and 2) to serve as an 
example to remind developers to test with data requiring decoding when 
developing test cases for new managed resources.

> special chars and ManagedSynonymFilterFactory
> ---------------------------------------------
>
>                 Key: SOLR-6163
>                 URL: https://issues.apache.org/jira/browse/SOLR-6163
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.8
>            Reporter: Wim Kumpen
>         Attachments: SOLR-6163.patch
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to