Download the PHP package gbprod/elastica-extra-bundle without Composer
On this page you can find all versions of the php package gbprod/elastica-extra-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gbprod/elastica-extra-bundle
More information about gbprod/elastica-extra-bundle
Files in gbprod/elastica-extra-bundle
Package elastica-extra-bundle
Short Description Bundle providing extra elastica tools for managing indices and types settings
License MIT
Informations about the package elastica-extra-bundle
ElasticaExtraBundle
Bundle providing extra elastica tools for managing indices and types settings.
With this bundle you can :
- Manage index settings and mappings in yaml
- Create and delete index
- Manage indices' aliases
- Reindex
Installation
With composer :
Update your app/AppKernel.php
file:
Configure Elastica client
You can create Elastica client using a bundle like:
- FOSElasticaBundle
Service name will look like
fos_elastica.client.my_client
- My lightweight bundle ElasticaBundle
Service name will look like
elastica.default_client
- DIY
Index Management Operations
Configuration
Set indices setup
Create index
Will create index using his configuration.
Will create index using another index configuration (usefull when using aliases)
Delete index
Put index settings
Will put index settings using another index configuration (usefull when using aliases)
Put index mappings
Will put index mappings using another index configuration (usefull when using aliases)
Aliases Management Operations
List aliases for an index
Add alias for an index
If --replace
options is set, an existing alias will be replaced
Remove alias for an index
List indices
This command list indices
You also can filter displayed indices using regex
Reindex
This command reindex using reindex api
Use a different client
For all commands you can specify a different client using --client
option.
eg:
All versions of elastica-extra-bundle with dependencies
ruflin/elastica Version ^3.1|^5.0|^6.0
symfony/framework-bundle Version ^2.7|^3.0|^4.0
symfony/console Version ^2.7|^3.0|^4.0
symfony/yaml Version ^2.7|^3.0|^4.0