Closed Korbeil closed 1 year ago
This will allow us to do stuff as following:
# config/packages/elastically.yaml elastically: connections: default: client: '%env(json:ELASTICSEARCH_CONFIG)%' mapping_directory: '%kernel.project_dir%/config/elasticsearch' index_class_mapping: my-foobar-index: App\Dto\Foobar
With ELASTICSEARCH_CONFIG='{ "host": "elasticsearch", "port": 9200, "timeout": 4, "persistent": true }'
ELASTICSEARCH_CONFIG='{ "host": "elasticsearch", "port": 9200, "timeout": 4, "persistent": true }'
Thanks
This will allow us to do stuff as following:
With
ELASTICSEARCH_CONFIG='{ "host": "elasticsearch", "port": 9200, "timeout": 4, "persistent": true }'