根映射定义具有不受支持的参数:

时间:2019-09-06 02:30:52

标签: php symfony elastica foselasticabundle

运行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?

0 个答案:

没有答案