ebrana / elasticsearch-bundle
dev-main
2024-05-03 08:45 UTC
Requires
- php: >=8.3.0
- ext-json: *
- ebrana/elasticsearch: dev-main
- netom/lz-string-php: ~v1.3
- symfony/framework-bundle: ^7.0
Requires (Dev)
- phpstan/phpstan: ~1.10.47
- phpstan/phpstan-php-parser: ~1.1
This package is auto-updated.
Last update: 2024-05-03 08:45:19 UTC
README
Elasticsearch Symfony bundle pro balíček https://github.com/ebrana/elasticsearch.
Instalace
composer require ebrana/elasticsearch-bundle
Konfigurace
elasticsearch:
profiling: true
indexPrefix: "katalog_"
# tato sekce může být vynechána, protože attributes je default driver
# driver:
# type: "attributes" # attributes nebo json
# keyResolver: Elasticsearch\Bundle\KeyResolver # resolvuje klíče typu nested nebo object
mappings:
- App\Entity\Elasticsearch\Product
hosts:
- '%env(resolve:ELASTICSEARCH_URL)%'