index and analyze in es