소스 검색

cradle-elastic: add page

pxgamer 6 년 전
부모
커밋
b81d2a4c7c
1개의 변경된 파일27개의 추가작업 그리고 0개의 파일을 삭제
  1. 27 0
      pages/common/cradle-elastic.md

+ 27 - 0
pages/common/cradle-elastic.md

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