public static List<PredicateQuery> parseQueries(String queryFile, int maxQueryCount) throws IOException {
        try (BufferedReader reader = new BufferedReader(new FileReader(queryFile), 8 * 1024)) {
            List<PredicateQuery> queries = reader.lines()
                    .limit(maxQueryCount)
                    .map(VespaQueryParser::parseQueryFromQueryProperties)
                    .toList();
            return queries;
        }
    }
Parses a query formatted using the deprecated boolean query format (query properties).
predicate-search/src/main/java/com/yahoo/search/predicate/utils/VespaQueryParser.java