Skip to content

Commit

Permalink
Add examples for fetching and removing synonym rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
dansimpson committed Oct 29, 2020
1 parent a555ac3 commit 5a71d52
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ And the output looks like:
}
```

### Fetching and Deleting Synonym Rulesets

Fetching a ruleset with name `my_synonyms`

```
curl '0:9200/_stored_synonyms/my_synonyms'
```

Deleting a ruleset with name `my_synonyms`

```
curl -XDELETE '0:9200/_stored_synonyms/my_synonyms'
```

#### Generating a Plugin Zip

Expand Down

0 comments on commit 5a71d52

Please sign in to comment.