HI. I am using Elasticsearch 1.5.2. I add this code in app/config/config.yml
fos_elastica:
clients:
default: { host: localhost, port: 9200 }
serializer:
callback_class: FOS\ElasticaBundle\Serializer\Callback
serializer: serializer
indexes:
afsy:
client: default
types:
Article:
mappings: ~
persistence:
driver: orm # orm, mongodb, propel are available
model: Afsy\Bundle\CoreBundle\Entity\Article
provider: ~
Author:
mappings: ~
persistence:
driver: orm
model: Afsy\Bundle\CoreBundle\Entity\Author
provider: ~
and I try this command
$ php app/console fos:elastica:populate
I get this error
[invalidArgumentException ] there are no commands defined in the "fos:elastica" namespace