support indexing nested child documents