code: public List<String> getFilteredIndexList(String containedString) {
          return getAllIndices().stream()
                  .filter(index -> index.contains(containedString))
                  .collect(toList());
      }
docs: Gets filtered index list.
  
  @param containedString the contained string
  @return the filtered index list