Advertisement

Advanced Queries

  • David Hows
  • Peter Membrey
  • Eelco Plugge
  • Tim Hawkins
Chapter

Abstract

The chapters so far have covered most of the basic query mechanisms to find one or a series of documents by given criteria. There are a number of mechanisms for finding given documents to bring them back to your application so they can be processed. But sometimes these normal query mechanisms fall short and you want to perform complex operations over most or all documents in your collection. Many developers, when queries or operations of this kind are required, either iterate through all documents in the collection or write a series of queries to be executed in sequence to perform the necessary calculations. Although this is a valid way of doing things, it can be burdensome to write and maintain, as well as inefficient. It is for these reasons that MongoDB has some advanced query mechanics that you can use to drive the most from your data. The advanced MongoDB features we'll examine in this chapter are full-text search, the aggregation framework, and the MapReduce framework.

Keywords

Aggregation Operation Text Search Test Database MapReduce Framework Text Index 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© David Hows 2013

Authors and Affiliations

  • David Hows
    • 1
  • Peter Membrey
    • 1
  • Eelco Plugge
    • 1
  • Tim Hawkins
    • 1
  1. 1.NSWAustralia

Personalised recommendations