code: @Deprecated
      public List<Index> listIndices() {
          InputStream response = null;
          try {
              URI uri = new DatabaseURIHelper(db.getDBUri()).path("_index").build();
              response = client.couchDbClient.get(uri);
              return getResponseList(response, client.getGson(), DeserializationTypes.INDICES);
          } finally {
              close(response);
          }
      }
docs: List all indices
  <P>Example usage:</P>
  <pre>
  {@code
  List <Index> indices = db.listIndices();
  }
  </pre>
  
  @return List of Index objects
  @see Database#listIndexes()