public static @NotNull Path getPersistentIndexRoot() throws IOException {
    Path indexDir = PathManager.getIndexRoot().resolve(PERSISTENT_INDEX_DIRECTORY_NAME);
    Files.createDirectories(indexDir);
    return indexDir;
  }
public static @NotNull Path getPersistentIndexRoot()