2018-11-06 09:40:26 +00:00
|
|
|
# cradle elastic
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
> 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
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Truncate the Elasticsearch index:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
|
|
|
`cradle elastic flush`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Truncate the Elasticsearch index for a specific package:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`cradle elastic flush {{package}}`
|
2018-11-06 09:40:26 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Submit the Elasticsearch schema:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
|
|
|
`cradle elastic map`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Submit the Elasticsearch schema for a specific package:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`cradle elastic map {{package}}`
|
2018-11-06 09:40:26 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Populate the Elasticsearch indices for all packages:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
|
|
|
`cradle elastic populate`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Populate the Elasticsearch indices for a specific package:
|
2018-11-06 09:40:26 +00:00
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`cradle elastic populate {{package}}`
|