tldr/pages/common/cradle-elastic.md

28 lines
585 B
Markdown
Raw Normal View History

2018-11-06 09:40:26 +00:00
# cradle elastic
> Manage the ElasticSearch instances for a Cradle instance.
2018-11-06 09:40:26 +00:00
- Truncate the ElasticSearch index:
`cradle elastic flush`
- Truncate the ElasticSearch index for a specific package:
2018-11-13 12:16:49 +00:00
`cradle elastic flush {{package_name}}`
2018-11-06 09:40:26 +00:00
- Submit the ElasticSearch schema:
`cradle elastic map`
- Submit the ElasticSearch schema for a specific package:
2018-11-13 12:16:49 +00:00
`cradle elastic map {{package_name}}`
2018-11-06 09:40:26 +00:00
- Populate the ElasticSearch indices for all packages:
2018-11-06 09:40:26 +00:00
`cradle elastic populate`
- Populate the ElasticSearch indices for a specific package:
2018-11-06 09:40:26 +00:00
2018-11-13 12:16:49 +00:00
`cradle elastic populate {{package_name}}`