From 3eb26961171db1b99070a505b687de26f6e5bcae Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Tue, 12 Dec 2023 07:49:49 +0100 Subject: [PATCH] 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 --- src/main/asciidoc/reference/mongodb.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/reference/mongodb.adoc b/src/main/asciidoc/reference/mongodb.adoc index a2ac66d1f..11ad9e0a8 100644 --- a/src/main/asciidoc/reference/mongodb.adoc +++ b/src/main/asciidoc/reference/mongodb.adoc @@ -2518,14 +2518,14 @@ The following listing shows the `IndexOperations` interface: ---- public interface IndexOperations { - void ensureIndex(IndexDefinition indexDefinition); + String ensureIndex(IndexDefinition indexDefinition); + + void alterIndex(String name, IndexOptions options); void dropIndex(String name); void dropAllIndexes(); - void resetIndexCache(); - List getIndexInfo(); } ----