Interface MatchRegionRetriever.FieldValueProvider

  • All Known Implementing Classes:
    MatchRegionRetriever.DocumentFieldValueProvider
    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.FieldValueProvider
    An abstraction that provides document values for a given field. The default implementation just reaches to a preloaded Document. It is possible to write a more efficient implementation on top of a reusable character buffer (that reuses the buffer while retrieving hit regions for documents).
    • Method Detail

      • getValues

        java.util.List<java.lang.CharSequence> getValues​(java.lang.String field)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException