[Repost of my article: https://dzone.com/articles/split-and-conquer-efficient-string-search-with-n1q ] Consider my DZone article: Concurrency Behavior: MongoDB vs. Couchbase . It’s a 10+ page article. For any application, indexing and supporting searching within the full text is a big task. The best practice for search is to have tags or labels for each article and then search on those tags. For this article, tags are: CONCURRENCY, MONGODB, COUCHBASE, INDEX, READ, WRITE, PERFORMANCE, SNAPSHOT, and CONSISTENCY. Let’s put this into a JSON document. Document Key : "k3" { "tags" : "CONCURRENCY,MONGODB,COUCHBASE,INDEX,READ,WRITE,PERFORMANCE,SNAPSHOT,CONSISTENCY" , "title" : "Concurrency Behavior: MongoDB vs. Couchbase" } It's one one thing to store the tags. It's another thing to search for a tag within the string. How do you search for the COUCHBASE tag within the ta...
A blog about all things data and data processing issues and interests. SQL, NoSQL, flexible schema, scale-up, scale-out, transactions, high availability.