Skip to content

Commit

Permalink
#217 refactor folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Marx committed Jul 1, 2024
1 parent b3c73e9 commit fa3fdc7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ public class PersistentMetaData extends AbstractMetaData implements AutoCloseabl
@Override
public void open() throws IOException {

Files.createDirectories(hostPath.resolve("data/store"));
Files.createDirectories(hostPath.resolve("data/index"));
Files.createDirectories(hostPath.resolve("data/metadata/store"));
Files.createDirectories(hostPath.resolve("data/metadata/index"));

index = new LuceneIndex();
index.open(hostPath.resolve("data/index"));
index.open(hostPath.resolve("data/metadata/index"));

store = MVStore.open(hostPath.resolve("data/store/data").toString());
store = MVStore.open(hostPath.resolve("data/metadata/store/data.db").toString());

nodes = store.openMap("nodes");
tree = store.openMap("tree");
Expand Down

0 comments on commit fa3fdc7

Please sign in to comment.