Chapter 5. Advanced Operations
In this chapter, we will cover the following recipes:
- Atomic find and modify operations
- Implementing atomic counters in Mongo
- Implementing server-side scripts
- Creating and tailing a capped collection cursors in MongoDB
- Converting a normal collection to capped collection
- Storing binary data in Mongo
- Storing large data in Mongo using GridFS
- Storing data to GridFS from Java client
- Storing data to GridFS from Python client
- Implementing triggers in Mongo using oplog
- Flat plane (2D) geospatial queries in Mongo using geospatial indexes
- Spherical indexes and GeoJSON compliant data in Mongo
- Implementing full text search in Mongo
- Integrating MongoDB for full text search with Elasticsearch