Composer を使用して FOSElastica 3.0 を Symfony プロジェクトにインストールしました。これは私の設定です:
fos_elastica:
clients:
default: { host: localhost, port: 9200 }
indexes:
search:
types:
keyword:
mappings:
value:
type: string
persistence:
driver: orm
model: Anklick\UserPagesBundle\Entity\Keyword
provider: ~
listener:
immediate: ~
finder: ~
かなり単純ですね。
今私がするとき
php app/console fos:elastica:populate
それは私に言います:
Resetting search
[Elastica\Exception\ResponseException]
ClassCastException[java.util.ArrayList cannot be cast to java.util.Map]
どうしたの?
編集:同じ問題fos:elastica:reset