News for hackers. Stuff that matters.
Re:Elasticsearch 1.0.0 released by alisson on Wednesday February 12, 2014 @01:21PM (#7226163)
On ElasticSearch you have to update the whole document, no commands to manipulate them. You don't have commands like: $set, $addToSet, $pop, etc..

You need to have a good understanding of how tokenizers and analyzers work to be able to create good results for your data. I have difficulties matching documents with the exact title being searched for. On MongoDB that just works, on ElasticSearch you need to configure it.

ElasticSearch has some advantages and MongoDB others. I think they are great together. One for storage and the other for searching.

Re:Elasticsearch 1.0.0 released by polyfractal on Wednesday February 12, 2014 @01:26PM (#7226184)
Regarding updates, you can use the Update API for partial updates, and include a script to do things like "counter += 1" or "add value to existing array".

Internally it is still reindexing the entire document, but from your application's perspective, the Update API is a lot friendlier.

http://www.elasticsearch.org/guide/en/elasticsearch/referenc...

Re:Elasticsearch 1.0.0 released by alisson on Wednesday February 12, 2014 @01:59PM (#7226458)
Thanks for pointing that out, it will be really useful!
Re:Elasticsearch 1.0.0 released by xtracto on Wednesday February 12, 2014 @11:24PM (#7229396)
>You need to have a good understanding of how tokenizers and analyzers work to be able to create good results for your data.

This is really important. Creating a proper searching experience with auto-complete which works "just like you want" can be a very painful experience with ES, specially if you are new to ES. It bite me some time ago when I was trying to achieve just that.

Re:Elasticsearch 1.0.0 released by hkon on Thursday February 13, 2014 @09:52AM (#7231640)
Care to elaborate? What were the steps you had to go through?
Re:Elasticsearch 1.0.0 released by scorpion032 on Saturday February 15, 2014 @09:50AM (#7243924)
If for storage of data, I'd use and only use a RDBMS like Postgres. Not Mongo.