adding AnalyzeIndices API which allows interactive analysis of text