Reputation: 9937
I am using Symfony 2.1 for my project. In my project elasticsearch will be used for my search engine. I found that Elastica is a greate PHP client for elasticsearch. ElasticBundle is a wrapper of Elastica for symfony2.0 . I follow the step by step offical doc https://github.com/Exercise/FOQElasticaBundle#readme . But It seems like the doc is outdated. I think it was for symfony2. I try to intergrate with symfony2.1 without success. Your help is highly appreciated.
Upvotes: 0
Views: 678
Reputation: 36
I did like that, add line:
//composer.json
...
"require": {
...
"exercise/elastica-bundle": "dev-master",
}
...
Then I run php composer.phar update
. And then add line:
//app/AppKernel.php
...
new FOQ\ElasticaBundle\FOQElasticaBundle(),
...
Upvotes: 2