Interface MatchRegionRetriever.MatchOffsetsConsumer

  • Enclosing class:
    MatchRegionRetriever
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface MatchRegionRetriever.MatchOffsetsConsumer
    A callback for accepting a single document (and its associated leaf reader, leaf document ID) and its match offset ranges, as indicated by the Matches interface retrieved for the query.
    • Method Detail

      • accept

        void accept​(int docId,
                    LeafReader leafReader,
                    int leafDocId,
                    java.util.Map<java.lang.String,​java.util.List<OffsetRange>> hits)
             throws java.io.IOException
        Throws:
        java.io.IOException