private void moveSearchDefinitionsToSchemasDir(java.nio.file.Path applicationDir) throws IOException {
        File schemasDir = applicationDir.resolve(ApplicationPackage.SCHEMAS_DIR.getRelative()).toFile();
        File sdDir = applicationDir.resolve(ApplicationPackage.SEARCH_DEFINITIONS_DIR.getRelative()).toFile();
        if (sdDir.exists() && sdDir.isDirectory()) {
            try {
                File[] sdFiles = sdDir.listFiles();
                if (sdFiles != null) {
                    Files.createDirectories(schemasDir.toPath());
                    List.of(sdFiles).forEach(file -> uncheck(
                            () -> Files.move(file.toPath(),
                                             schemasDir.toPath().resolve(file.toPath().getFileName()),
                                             StandardCopyOption.REPLACE_EXISTING)));
                }
                Files.delete(sdDir.toPath());
            } catch (IOException | UncheckedIOException e) {
                if (schemasDir.exists() && schemasDir.isDirectory())
                    throw new InvalidApplicationException(
                            "Both " + ApplicationPackage.SCHEMAS_DIR.getRelative() + "/ and " + ApplicationPackage.SEARCH_DEFINITIONS_DIR +
                                    "/ exist in application package, please remove " + ApplicationPackage.SEARCH_DEFINITIONS_DIR + "/", e);
                else
                    throw e;
            }
        }
    }
A session for which we don't have a watcher, i.e. hitherto unknown to us.

@param sessionId session id for the new session
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionRepository.java