Attached to elasticsearch