From d6315632a6d502b09bb36750e60e32b0e5260874 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 --- .../ROOT/pages/mongodb/template-collection-management.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/mongodb/template-collection-management.adoc b/src/main/antora/modules/ROOT/pages/mongodb/template-collection-management.adoc index 00b3f8216..4d8ff007e 100644 --- a/src/main/antora/modules/ROOT/pages/mongodb/template-collection-management.adoc +++ b/src/main/antora/modules/ROOT/pages/mongodb/template-collection-management.adoc @@ -15,16 +15,14 @@ Imperative:: ---- public interface IndexOperations { - void ensureIndex(IndexDefinition indexDefinition); + String ensureIndex(IndexDefinition indexDefinition); - void alterIndex(String name); + void alterIndex(String name, IndexOptions options); void dropIndex(String name); void dropAllIndexes(); - void resetIndexCache(); - List getIndexInfo(); } ----