Package io.jmix.search.searching
Interface EntitySearcher
- All Known Implementing Classes:
EntitySearcherImpl
public interface EntitySearcher
Provides functionality for searching entities in index.
-
Method Summary
Modifier and TypeMethodDescriptionsearch
(SearchContext searchContext) Performs search in search indexes according to providedSearchContext
and defaultSearchStrategy
.search
(SearchContext searchContext, SearchStrategy searchStrategy) Performs search in search indexes according to providedSearchContext
andSearchStrategy
.searchNextPage
(SearchResult previousSearchResult) Performs search of next page according toSearchContext
andSearchResult
contained in providedSearchStrategy
related to previous page.
-
Method Details
-
search
Performs search in search indexes according to providedSearchContext
and defaultSearchStrategy
.- Parameters:
searchContext
- runtime settings of specific search- Returns:
SearchResult
with found objects
-
search
Performs search in search indexes according to providedSearchContext
andSearchStrategy
.- Parameters:
searchContext
- runtime settings of specific searchsearchStrategy
- the way incoming search text should be processed- Returns:
SearchResult
with found objects
-
searchNextPage
Performs search of next page according toSearchContext
andSearchResult
contained in providedSearchStrategy
related to previous page.- Parameters:
previousSearchResult
-SearchResult
of previous page- Returns:
SearchResult
with found objects
-