Getting the main schema name from elasticsearch