ronte-ltd / elastic-bundle
The bundle for the elastic search service
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ronte-ltd/elastic-bundle
Requires
- php: >=7.1.0
- elasticsearch/elasticsearch: ~5.0
- ronte-ltd/common-bundle: dev-master
This package is not auto-updated.
Last update: 2025-10-12 01:19:01 UTC
README
Installation
Composer
composer require ronte-ltd/elastic-bundle
AppKernel.php
new RonteLtd\ElasticBundle\RonteLtdElasticBundle()
config.yml
ronte_ltd_elastic: entities: AppBundle\Entity\Entity: "%kernel.root_dir%/../src/AppBundle/Resources/schema/entity.yml" hosts: - 'http://127.0.0.1:9200'
Example of schema of entity that the entity.yml at above
index: 'items' type: 'item' settings: number_of_shards: 3 number_of_replicas: 2 mappings: _source: enabled: true properties: id: type: 'integer' name: type: 'string' analyzer: 'standard' nickname: type: 'string' analyzer: 'standard'
Road map
- Event Listener for events of doctrine
- Elastic Service
- Tests