elastic search module new structure