mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 17:42:31 +00:00
34 lines
766 B
Plaintext
34 lines
766 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# cradle elastic
|
|
|
|
> Manage the Elasticsearch instances for a Cradle instance.
|
|
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#elastic>.
|
|
|
|
- Truncate the Elasticsearch index:
|
|
|
|
`cradle elastic flush`
|
|
|
|
- Truncate the Elasticsearch index for a specific package:
|
|
|
|
`cradle elastic flush {{package}}`
|
|
|
|
- Submit the Elasticsearch schema:
|
|
|
|
`cradle elastic map`
|
|
|
|
- Submit the Elasticsearch schema for a specific package:
|
|
|
|
`cradle elastic map {{package}}`
|
|
|
|
- Populate the Elasticsearch indices for all packages:
|
|
|
|
`cradle elastic populate`
|
|
|
|
- Populate the Elasticsearch indices for a specific package:
|
|
|
|
`cradle elastic populate {{package}}`
|