riak

How to structure data in Riak?

限于喜欢 提交于 2019-11-27 14:49:32
问题 I'm trying to figure out how to model data in Riak. Let's say you are building something like a CMS with two features, news and products. You need to be able to store this information for multiple clients X and Y. How would you typically structure this? One bucket per client and then two keys news and products . Store multiple objects under each key and then use map/reduce to order them. Store both the news and the products in the same bucket, but with a new autogenerated key for each news

Full-text search in NoSQL databases

人走茶凉 提交于 2019-11-27 00:57:54
Has anyone here have any experience deploying a real online system that had a full text search in any of the NoSQL databases? For example, how does the full-text search compare in MongoDB, Riak and CouchDB? Some of the metric that I am looking for is ease of deployment and maintaince and of course speed. How mature are they? Are they any replacement for the Lucene infrastructure? Thanks. None of the existing "NoSQL" database provides a reasonable implementation of something that could be named "fulltext search". MongoDB in particular has barely nothing so far (matching using regular

Run a service automatically in a docker container

瘦欲@ 提交于 2019-11-26 18:58:27
问题 I'm setting up a simple image: one that holds Riak (a NoSQL database). The image starts the Riak service with riak start as a CMD. Now, if I run it as a daemon with docker run -d quintenk/riak-dev , it does start the Riak process (I can see that in the logs). However, it closes automatically after a few seconds. If I run it using docker run -i -t quintenk/riak-dev /bin/bash the riak process is not started (UPDATE: see answers for an explanation for this). In fact, no services are running at

Full-text search in NoSQL databases

拥有回忆 提交于 2019-11-26 12:25:21
问题 Has anyone here have any experience deploying a real online system that had a full text search in any of the NoSQL databases? For example, how does the full-text search compare in MongoDB, Riak and CouchDB? Some of the metric that I am looking for is ease of deployment and maintaince and of course speed. How mature are they? Are they any replacement for the Lucene infrastructure? Thanks. 回答1: None of the existing "NoSQL" database provides a reasonable implementation of something that could be