7 ms·
Elasticsearch is a Fulltext search solution not a K/V Database.
by k-a-r 15y ago
Elasticsearch is a Fulltext search solution not a K/V Database.
- erickt 15y agoTechnically yes, but you can use elasticsearch as a distributed key-value store. I use it in production and it works amazingly well for me. Yes, searches may return stale data (one second old by default) but that is not much of a problem in my app.
- gregholmberg 15y agoThat sounds both interesting and non-intuitive. Can you go into more detail about how you have been using ElasticSearch as a k/v store? EDIT: Color me surprised. I didn't see it mentioned at all in the ElasticSearch docs or in their Github repo, but apparently this is a fairly popular thing to do. "Elastic search as a database?" http://stackoverflow.com/questions/6636508/elastic-search-as-a-database http://stackoverflow.com/questions/6636508/elastic-search-as... "ElasticSearch, datastore for user and social data?" http://stackoverflow.com/questions/8190288/elasticsearch-datastore-for-user-and-social-data http://stackoverflow.com/questions/8190288/elasticsearch-dat... "Elasticsearch and NoSql database" http://stackoverflow.com/questions/8026880/elasticsearch-and-nosql-database http://stackoverflow.com/questions/8026880/elasticsearch-and...