<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def raw_query(query, index=INDEX_NAME, doc_type=DOC_TYPE):
 """ Thin wrapper of the search function to provide useful defaults https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.search http://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html """

    result = es_conn.search(index=index, doc_type=DOC_TYPE, body=query)
    return result['hits']['hits']