Tag: views

Couchbase Views and Better Alternatives [Part 1 of 2]
Couchbase Views and Better Alternatives [Part 1 of 2]

Introduction This blog is meant for users who are familiar with the basics of Couchbase Server and Views. Novice users should start here to gain basic understanding of Couchbase Server and then continue here to get acquainted with Views. Views...

Mass Deleting Documents by Compound Key Prefix Using Node.js
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
Couchbase .NET SDK 2.0 Development Series: New View Querying Syntax

The post focuses on providing rich query API’s to Couchbase documents. Also, it deals with new view querying enhancements to the SDK’s to get the data.

Couchbase .NET Client 1.3.4 Released!
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”
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
Caching queries in Couchbase for high performance

This blog provides examples of how query results can be cached into Couchbase to be retrieved from the cache instead of being served from index on disk.

Pagination Best Practices with Couchbase
Pagination Best Practices with Couchbase

Many documents when doing queries against a Couchbase cluster requires pagination to get rows by page. We provide best practices with sample codes.

Understanding group_level in View Queries with Compound Keys
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...

Using Map and Reduce View for Ranking
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...