Interface IndexScope


  • public interface IndexScope
    The scope of an index-related operation, aware of the targeted indexes and of the underlying technology (backend).
    • Method Detail

      • extension

        default <T> T extension​(IndexScopeExtension<T> extension)
        Extend the current index scope with the given extension, resulting in an extended index scope offering backend-specific utilities.
        Type Parameters:
        T - The type of index scope provided by the extension.
        Parameters:
        extension - The extension to apply.
        Returns:
        The extended index scope.
        Throws:
        SearchException - If the extension cannot be applied (wrong underlying technology, ...).