Make Filehooks + Gitsearch compatible with ElasticSearch 7
Our code does not work with ElasticSearch 7 at the moment, specifically due to the removal of types.
We do not use this feature, for functionality, but we explicitly use the default type _doc
. On the filehooks side, this might be fixed by just deleting the doc_type
parameter from the queries.