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...
Thanks for pointing that out, it will be really useful!
>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.
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.
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.