У меня проблема.
- Symfony: 4.4
- Elasticsearch: 7.6.1
- FOSElasticaBundle: 5.1
- PHP: 7.2.26
Моя конфигурация:
fos_elastica:
clients:
default: { url: '%env(ELASTICSEARCH_URL)%' }
indexes:
app:
finder: ~
types:
city:
properties:
name: ~
persistence:
driver: orm
model: App\Entity\City
provider: ~
finder: ~
Команда:
php bin/console fos:elastica:populate
Ошибка:
Root mapping definition has unsupported parameters: [city : {dynamic_date_formats=[], _meta={model=App\Entity\City}, properties={name={type=text}}}] [reason: Failed to parse mapping [_doc]: Root map
ping definition has unsupported parameters: [city : {dynamic_date_formats=[], _meta={model=App\Entity\City}, properties={name={type=text}}}]]