Interface IndexScope<SR>
public interface IndexScope<SR>
The scope of an index-related operation, aware of the targeted indexes and of the underlying technology (backend).
-
Method Summary
Modifier and TypeMethodDescriptiondefault <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<SR, ? extends SearchQueryIndexScope<?, ?>>
-
Method Details
-
searchScope
SearchQueryIndexScope<SR,? extends SearchQueryIndexScope<?, searchScope()?>> -
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, ...).
-