openannotation/annotator-store — pull request #87 by Treora (2014-08-06 01:13:21+00:00)
Title: Revise search_raw

As described in #86, all query transformation stuff is moved from `_Model` to `store.py`, making `_Model.search_raw` a thin wrapper around doing a Elasticsearch search; the only help being that the index name and document type are filled in for you.

Annotation.search_raw like before adds a filter to the query, to comply with annotation permissions. I added the option to disable this authorization filter.