You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mathias H. (JIRA)" <ji...@apache.org> on 2014/08/20 15:30:27 UTC

[jira] [Created] (SOLR-6394) Managed Synonyms should support deleting all synonyms or replacing a single one

Mathias H. created SOLR-6394:
--------------------------------

             Summary: Managed Synonyms should support deleting all synonyms or replacing a single one
                 Key: SOLR-6394
                 URL: https://issues.apache.org/jira/browse/SOLR-6394
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.9
            Reporter: Mathias H.
            Priority: Minor


Currently it is only possible to add synonyms and deleting single synonyms. If you need to delete all synonyms you have to get the list and sending an delete request to every single synonym. Also you can't overwrite a synonym only append it.

It would be more convenient to have additional possibilities:

Deleting all synonyms
curl -XDELETE http://localhost:8983/solr/collection1/schema/analysis/synonyms/english/

Overwriting a single synonym 
curl -XPUT http://localhost:8983/solr/collection1/schema/analysis/synonyms/english/apple

Add a synonym / append to an existing synonym
curl -XPOST http://localhost:8983/solr/collection1/schema/analysis/synonyms/english/apple





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

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