Interface IndexScope
-
public interface IndexScopeThe scope of an index-related operation, aware of the targeted indexes and of the underlying technology (backend).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> Textension(IndexScopeExtension<T> extension)Extend the current index scope with the given extension, resulting in an extended index scope offering backend-specific utilities.SearchQueryIndexScope<? extends SearchQueryIndexScope<?>>searchScope()
-
-
-
Method Detail
-
searchScope
SearchQueryIndexScope<? extends SearchQueryIndexScope<?>> searchScope()
-
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, ...).
-
-