DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Data Engineering
  3. Big Data
  4. Writing and Querying MapReduce Views in CouchDB

Writing and Querying MapReduce Views in CouchDB

Bradley Holt user avatar by
Bradley Holt
·
Nov. 29, 11 · Interview
Like (0)
Save
Tweet
Share
7.36K Views

Join the DZone community and get the full member experience.

Join For Free
my first book, writing and querying mapreduce views in couchdb , was published by o’reilly media some time ago. it is a short and concise ebook with step-by-step instructions and lots of sample code. most examples are provided both in futon and using couchdb’s restful http api (using curl).

in my experience, web developers who are new to couchdb often encounter three main barriers to understanding and using couchdb. first, its json documents. second, its restful http api. third, its mapreduce views. the first two are fairly straightforward and many web developers already have experience with json and restful http apis. once you understand the benefits of using json as a document format and exposing the database through a restful http api, then understanding mapreduce views becomes the main barrier.

the goal of this book is to walk readers through both writing mapreduce views and then querying these same views. both the map and reduce steps are explained separately. several example map functions are demonstrated and the built-in reduce functions are covered. there are also discussions about custom reduce functions and the limitations of mapreduce. there are examples of creating both temporary views and saving views permanently to design documents. finally, there is a chapter on querying views which talks about range queries, limiting rows, skipping rows, reversing results, exact grouping, group levels, and including the original documents in query results.

p.s. if you are a blogger and would like to review this book, then please ping me and let me know.

writing and querying mapreduce views in couchdb: indexing and querying documents


source: http://bradley-holt.com/2011/01/writing-and-querying-mapreduce-views-in-couchdb
MapReduce hadoop

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • DevOps for Developers: Continuous Integration, GitHub Actions, and Sonar Cloud
  • Solving the Kubernetes Security Puzzle
  • mTLS Everywere
  • A Gentle Introduction to Kubernetes

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: