Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Writing and Querying MapReduce Views in CouchDB (repost)

Posted By: interes
Writing and Querying MapReduce Views in CouchDB (repost)

Writing and Querying MapReduce Views in CouchDB by Bradley Holt
English | 2011 | ISBN: 1449303129 | 67 pages | PDF | 1,9 MB

If you want to use CouchDB to support real-world applications, you'll need to create MapReduce views that let you query this document-oriented database for meaningful data. With this short and concise ebook, you'll learn how to create a variety of MapReduce views to help you query and aggregate data in CouchDB’s large, distributed datasets.

You'll get step-by-step instructions and lots of sample code to create and explore several MapReduce views through the course of the book, using an example database you construct. To work with these different views, you’ll learn how to use the Futon web administration console and the cURL command line tool that come with CouchDB.

* Learn how the Map and Reduce steps work independently and together to index your data
* Use the example database to create several temporary views based on different criteria
* Discover the uses of Map and Reduce JavaScript functions
* Convert your temporary views to permanent views within a design document
* Learn several options for querying the data within your views
* Limit the number of results returned, skip some results, or reverse the order of the output
* Group your results by exact keys or by parts of keys