tldr/pages/common/cradle-elastic.md

29 lines
688 B
Markdown
Raw Normal View History

2018-11-06 09:40:26 +00:00
# cradle elastic
> Manage the ElasticSearch instances for a Cradle instance.
2019-06-09 00:05:30 +01:00
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#elastic>.
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}}`