Added theory to elasticsearch