...
- Some additional control fields can be supplied, as described here.
- The most common control fields can be specifically added with their default value by pressing the "Add Options" button
- The aforementioned query must be a one of:
- MongoDB query (use the /wiki/spaces/INF/pages/3899780, or content format), or (from March 2014)
- Only indexed fields should be used in the query, this is discussed further here: Hadoop Plugin Guide
- Infinit.e query JSON objects (note this will usually be slower than indexed MongoDB queries so should be used with care)
- MongoDB query (use the /wiki/spaces/INF/pages/3899780, or content format), or (from March 2014)
- Press the "Check" button next to the "Query" field to validate the query JSON.
- (From March 2014) You can paste a saved workspace link into the query field (eg from the GUI) instead of typing out the JSON to generate an Infinit.e style query. You can include JSON below that to add query qualifiers, as described here.
- Note that MongoDB uses some JSON extensions that must be used in queries from the command line:
- When querying the ObjectId type (eg "_id"), it should be queried as the object '{ "$oid": "<object id string>"' }'
- When querying a Date type, it should be queried as the object '{ "$date": "<date in Java time, ie milliseconds since 01 Jan 1970" }'
- The full list is here: http://docs.mongodb.org/manual/reference/mongodb-extended-json/
Note: If you set append results to false, there is no need to set an age out.
...