HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cradle elastic — Manage the Elasticsearch instances for a Cradle instance. More information: <https://cradlephp.githu

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecradle elasticcommandinstanceselasticsearchclimanagefor

Problem

How to use the cradle elastic command: Manage the Elasticsearch instances for a Cradle instance. More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#elastic>.

Solution

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}}

Code Snippets

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

Context

tldr-pages: common/cradle elastic

Revisions (0)

No revisions yet.