Tag: views

Mass Deleting Documents by Compound Key Prefix Using Node.js

A common question that gets asked in the Couchbase forums and on Stack Overflow is how to delete all records from a bucket that have a key that starts with some value. In other words, how to delete all records...

Couchbase .NET SDK 2.0 Development Series: New View Querying Syntax

A core goal of the new Couchbase .NET SDK is improving the developer experience. We are working to achieve this goal in several ways: Reducing the number of steps (read App.Config “free”) required to get up and running with Couchbase...

Couchbase .NET Client 1.3.4 Released!

This release is another bug fix/stability release concentrating on improving the retry algorithm for Views and adding more refined logging to the client, along with a few other miscellaneous fixes. Improving the consistency of View operations is important given that...

Couchbase @ Ziniki : The odyssey to find “Find”

Ziniki Infrastructure Systems built their integration tier on top of Couchbase, because the combination of document storage with incremental mapreduce gave them a powerful way to query data. In this blog, Gareth Powell, founder and architect at Ziniki, describes his...

Caching queries in Couchbase for high performance

Starting from version 2.0, Couchbase server offers a powerful way of creating indexes for JSON documents through the concept of views. Using views, it is possible to define primary indexes, composite indexes and aggregations allowing to: . query documents on...

/ December 16, 2014

Pagination with Couchbase

[This blog was syndicated from http://blog.grallandco.com] If you have to deal with a large number of documents when doing queries against a Couchbase cluster it is important to use pagination to get rows by page. You can find some information...

/ December 16, 2014

Understanding group_level in View Queries with Compound Keys

Querying Views is what views are all about. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html Compound Keys Just to illustrate how group level works, let's use a Map function that sorts users by the latest login timestamp, converting...

/ December 16, 2014

Using Map and Reduce View for Ranking

Starting from version 2.0, Couchbase server offers a powerful way of creating indexes for JSON documents through the concept of views. Using views, it is possible to define primary indexes, composite indexes and aggregations allowing to: . query documents on...

/ December 16, 2014