mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 00:15:38 +02:00
cradle-elastic: add page
This commit is contained in:
parent
65f8d2a99c
commit
b81d2a4c7c
1 changed files with 27 additions and 0 deletions
27
pages/common/cradle-elastic.md
Normal file
27
pages/common/cradle-elastic.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# cradle elastic
|
||||||
|
|
||||||
|
> Manage the ElasticSearch instances.
|
||||||
|
|
||||||
|
- 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 indexes for all packages:
|
||||||
|
|
||||||
|
`cradle elastic populate`
|
||||||
|
|
||||||
|
- Populate the ElasticSearch indexes for a specific package:
|
||||||
|
|
||||||
|
`cradle elastic populate {{package}}`
|
Loading…
Add table
Reference in a new issue