database/misc/elasticsearch_plugin.py