运行php app/console fos:elastica:populate
我尝试运行php app/console fos:elastica:populate
组态:
“ symfony / elastica-bundle的friends”:“ ^ 5.1”
fos_elastica.yml:
fos_elastica:
clients:
default: { host: localhost, port: 9200 }
indexes:
medical:
types:
service:
properties:
name: ~
persistence:
driver: orm
model: MedBundle\Entity\Service
provider: ~
finder: ~
但是我有一个错误:
Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [service : {dynamic_date_formats=[], _meta={model=MedBundle\Entity\Service}, propertie
s={name={type=text}}}]] ```
What should i do?