jamescarr/mongoosastic — pull request #116 by sascha (2014-08-21 19:50:43+00:00)
Title: '_id' and/or 'id' properties in subdocuments

Added the possibility to have properties called '_id' or 'id' within subdocuments.
I'm not sure if this was intentionally left out, but I do have a case where I have a document with the following structure and I need to query on `author._id`:

```json
{
"_id": "",
"title": "",
"body": "",
"author": {
"_id": "",
"name": ""
}
}
```