Использую бандл:
friendsofsymfony/elastica-bundle
При запуске: bin/console fos:elastica:populate
Error: Root mapping definition has unsupported parameters: [hero : {dynamic_date_formats=[], _meta={model=AppBundle\Entit
y\Hero}, properties={name={type=text}}}] [reason: Failed to parse mapping [_doc]: Root mapping definition has unsup
ported parameters: [hero : {dynamic_date_formats=[], _meta={model=AppBundle\Entity\Hero}, pИroperties={name={type=t
ext}}}]]
Вот конфиги:fos_elastica:
clients:
default: { host: 190.61.6.3, port: 9200, username: 'elastic', password: '123456'}
indexes:
app:
types:
hero: # the name of our type
properties:
name:
#analyzer: keyword_analyzer
#search_analyzer: keyword_analyzer
type: text
persistence:
driver: orm
model: AppBundle\Entity\Hero
provider: ~
finder: ~
repository: AppBundle\Repository\HeroRepository