diff --git a/plugins/monetdb-adapter/src/main/java/org/polypheny/db/adapter/monetdb/stores/MonetdbStore.java b/plugins/monetdb-adapter/src/main/java/org/polypheny/db/adapter/monetdb/stores/MonetdbStore.java index c54cfd7147..8c3d3a0574 100644 --- a/plugins/monetdb-adapter/src/main/java/org/polypheny/db/adapter/monetdb/stores/MonetdbStore.java +++ b/plugins/monetdb-adapter/src/main/java/org/polypheny/db/adapter/monetdb/stores/MonetdbStore.java @@ -309,13 +309,13 @@ public void dropIndex( Context context, LogicalIndex index, long allocId ) { public List getAvailableIndexMethods() { // According to the MonetDB documentation, MonetDB takes create index statements only as an advice and often freely // neglects them. Indexes are created and removed automatically. - return ImmutableList.of( new IndexMethodModel( "index", "index" ) ); + return ImmutableList.of( new IndexMethodModel( "advisory", "ADVISORY ONLY" ) ); } @Override public IndexMethodModel getDefaultIndexMethod() { - return new IndexMethodModel( "index", "index" ); + return getAvailableIndexMethods().get( 0 ); }