Skip to content

Commit a3c67e3

Browse files
Update reference documentation for IndexOperations.
Make sure the reference documentation is in line with available methods. Update signatures and remove no longer supported ones. Closes: #4587
1 parent 6a7c4fc commit a3c67e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/main/antora/modules/ROOT/pages/mongodb/template-collection-management.adoc

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ Imperative::
1515
----
1616
public interface IndexOperations {
1717
18-
void ensureIndex(IndexDefinition indexDefinition);
18+
String ensureIndex(IndexDefinition indexDefinition);
1919
20-
void alterIndex(String name);
20+
void alterIndex(String name, IndexOptions options);
2121
2222
void dropIndex(String name);
2323
2424
void dropAllIndexes();
2525
26-
void resetIndexCache();
27-
2826
List<IndexInfo> getIndexInfo();
2927
}
3028
----

0 commit comments

Comments
 (0)