Skip to content

Commit

Permalink
Merge pull request #3 from omc/dan/crud_readme
Browse files Browse the repository at this point in the history
Add examples for fetching and removing synonym rulesets
  • Loading branch information
dansimpson authored Oct 30, 2020
2 parents a555ac3 + 5a71d52 commit 9bbfe70
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 9bbfe70

Please sign in to comment.