In my previous posts I looked at integrating elasticsearch into a Symfony2 app and at how to use an alternative analyzer. One thing we did not do last time was indexing the url field of the Site entity. The reason for this is that if you index urls and email addresses using the default settings [...]
Archive for November, 2011
Symfony2: improving elasticsearch results
November 18th, 2011
11 Comments
In my previous post I looked at integrating elasticsearch into a Symfony2 app using Elastica and the FOQElasticaBundle bundle. By the end we were indexing a Site entity and performing basic searches against the index. In the post I will look at improving how we index and search the Site entities. We can improve the [...]
Symfony2: Integrating elasticsearch
November 11th, 2011
6 Comments
Over a short series of posts I am going to have a look at using elasticsearch with Symfony2. 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 [...]


