private long toExternalId(int internalId) {
            return idMapping[internalId >>> 1];
        }
Retrieves a list of hits for the given query.

@param query Specifies the boolean variables that are true.
@return List of hits
predicate-search/src/main/java/com/yahoo/search/predicate/index/conjunction/ConjunctionIndex.java