initial commit from elasticsearch-rtf