fixed fetchEntitiesFromDB to return multiple es search result types;

@ckiss I think there is no base by default. Not sure if it's replaced by a dash or just an empty string.