Skip to content

Commit 3eb2696

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 b606387 commit 3eb2696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/main/asciidoc/reference/mongodb.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -2518,14 +2518,14 @@ The following listing shows the `IndexOperations` interface:
25182518
----
25192519
public interface IndexOperations {
25202520
2521-
void ensureIndex(IndexDefinition indexDefinition);
2521+
String ensureIndex(IndexDefinition indexDefinition);
2522+
2523+
void alterIndex(String name, IndexOptions options);
25222524
25232525
void dropIndex(String name);
25242526
25252527
void dropAllIndexes();
25262528
2527-
void resetIndexCache();
2528-
25292529
List<IndexInfo> getIndexInfo();
25302530
}
25312531
----

0 commit comments

Comments
 (0)