@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Hit hit = (Hit) o;

        if (docId != hit.docId) return false;
        if (subquery != hit.subquery) return false;

        return true;
    }
Represents a hit from the predicate search algorithm.
Each hit is associated with a subquery bitmap,
indicating which subqueries the hit represents.

@author Magnar Nedland
predicate-search/src/main/java/com/yahoo/search/predicate/Hit.java