Richard Miller's Blog: Symfony2: Integrating elasticsearch
Note: This article was originally published at PHPDeveloper on 12 March 2006.
Elasticsearch is built on top of Lucene and indexes data as JSON documents in a similar way to the way MongoDB stores data. This means as with Mongo that it is schemaless and creates fields on the fly. It is queried over HTTP using queries which are themselves defined in JSON. [...] What I want to do is look at how you can avoid having to deal with issuing JSON queries over HTTP from a Symfony2 app and actually get started using elasticsearch in a very simple way.
He uses the Elastica PHP library to do some of the "heavy lifting" in the three posts so far:
- Symfony2: Integrating elasticsearch
- Symfony2: improving elasticsearch results
- Symfony2: elasticsearch custom analyzers