@Override
        public boolean tryAdvance(Consumer<? super Hit> action) {
            Optional<Hit> optionalHit = seek(lastHit + 1);
            optionalHit.ifPresent(hit -> {
                lastHit = hit.getDocId();
                action.accept(hit);
            });
            return optionalHit.isPresent();
        }
@return A stream of Hit-objects from a lazy evaluation of the boolean search algorithm.
predicate-search/src/main/java/com/yahoo/search/predicate/index/PredicateSearch.java