|
|
|
|
|
by malux85
4392 days ago
|
|
Elasticsearch is great. I have spent the last 6 months working on a project using it as the primary search technology, it has been nothing but great. I have not had any training and tried to figure it out through the online docs (which in the last overhaul have gotten much better) so forgive me if any of what I'm about to say is wrong, or better yet please correct me so I can learn :) here's the things I noticed when using it:
- Since it's schemaless by default it will guess the data type of a document based on the first value it sees, as far as I'm aware you're not able to change a data type later on, so I found it best to create a schema (aka mapping) being explicit about the fields data types up front. I think explicit is better anyway (Zen of python ;) ) - It's blazingly fast. Like crazy quick. - Use the geo data type if you're going to be doing radius queries. I've got 50M documents in the index and it queries insanely fast. It's been just as fast as PostGIS (which I also love) - Use this as the GUI: http://mobz.github.io/elasticsearch-head/ - Do some proper research on filtering before you start, start here: http://www.elasticsearch.org/guide/en/elasticsearch/referenc... the correctly configured snowball filter will make sure things like "rückwärts" will match "ruckwarts", |
|