tldr/pages/common/cradle-elastic.md

29 lines
673 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:
2018-11-06 09:40:26 +00:00
`cradle elastic flush`
- Truncate the Elasticsearch index for a specific package:
2018-11-06 09:40:26 +00:00
`cradle elastic flush {{package}}`
2018-11-06 09:40:26 +00:00
- Submit the Elasticsearch schema:
2018-11-06 09:40:26 +00:00
`cradle elastic map`
- Submit the Elasticsearch schema for a specific package:
2018-11-06 09:40:26 +00:00
`cradle elastic map {{package}}`
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
`cradle elastic populate {{package}}`