Getting errors when trying to create my own repository for foselasticabundle

im trying to create a elastic search repository, my repository so far is
creating the query, but for some reason i cant populate my index when i
declare it in my config.yml, this is what i have so far
https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/735. whenever
im trying to populate its throw me an error that says im passing a wrong
argument.

anybody with experience using foselasticabundle?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5c6b8ddb-5b2f-4146-96d7-207e8cf34b52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.