LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cradle-elastic

manage Elasticsearch within Cradle framework

TLDR

Start Elasticsearch with Cradle
$ cradle elastic start
copy
Stop Elasticsearch
$ cradle elastic stop
copy
Check status of Elasticsearch
$ cradle elastic status
copy
Flush Elasticsearch indices
$ cradle elastic flush
copy
Map Elasticsearch schema
$ cradle elastic map
copy

SYNOPSIS

cradle elastic command [options]

DESCRIPTION

cradle elastic manages Elasticsearch instances within the Cradle PHP framework. It provides commands to start, stop, and check the status of Elasticsearch services for development environments.This tool simplifies local Elasticsearch management by handling service lifecycle operations through the Cradle CLI. It's particularly useful for developers who need Elasticsearch running locally for search functionality testing without manually managing the service.Part of the Cradle framework's integrated service management tools that allow developers to control dependencies directly from the framework CLI.

PARAMETERS

start

Start the Elasticsearch service for the Cradle development environment.
stop
Stop the running Elasticsearch service.
status
Display the current status of the Elasticsearch service.
flush
Flush all Elasticsearch indices, clearing cached data.
map
Apply schema mappings to Elasticsearch indices.

SEE ALSO

Copied to clipboard
Kai