Hi,
I’m trying to disable ICV from Java, so that I can temporarily run some tests faster.
This is what I’m trying:
try (AdminConnection connect = stardogService.getStardogDatabase().getAdminConnectionConfiguration().connect()) {
connect.offline(applicationSettings.getStardogDatabase());
connect.set(applicationSettings.getStardogDatabase(), ICVOptions.ICV_ENABLED, false);
connect.online(applicationSettings.getStardogDatabase());
}
But it’s throwing an exception saying that the ICV_ENABLED isn’t a possible option. I’ve done a bit of digging and found a hashmap that contains all the legal options, but ICV_ENABLED is not there.
From the web gui it’s possible to disable ICV when the database is offline.
Thanks for any help with this.
Håvard