code: public List<Index<Field>> allIndexes() {
          List<Index<Field>> indexesOfAnyType = new ArrayList<Index<Field>>();
          indexesOfAnyType.addAll(listIndexType(null, ListableIndex.class));
          return indexesOfAnyType;
      }
docs: All the indexes defined in the database. Type widening means that the returned Index objects
  are limited to the name, design document and type of the index and the names of the fields.
  
  @return a list of defined indexes with name, design document, type and field names.