Skip to content

Commit

Permalink
Change index name and display text
Browse files Browse the repository at this point in the history
  • Loading branch information
vogti committed Dec 20, 2024
1 parent e972056 commit 57017c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ public void dropIndex( Context context, LogicalIndex index, long allocId ) {
public List<IndexMethodModel> 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 );
}


Expand Down

0 comments on commit 57017c5

Please sign in to comment.