Package lumis.portal.bigdata
Interface IBigDataSearcher
-
- All Known Subinterfaces:
IBigDataRepository
,IBigDataRepositorySPI
- All Known Implementing Classes:
ElasticsearchRepository
@StableMinor(version="14.1", sinceVersion="8.1") public interface IBigDataSearcher
Provides big data repository search operations.- Since:
- 8.1.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAutoCompleteSuggestions(SearchQuery searchQuery, AutoCompleteSuggestionConfig autoCompleteSuggestion)
Returns a list of auto complete suggestions for the given auto complete suggestion configuration and the search query.ISearchResults
search(SearchQuery searchQuery)
Runs the givensearch query
and returns thesearch results
.void
validate(SearchQuery searchQuery)
Checks is the givensearch query
is syntactically correct.
-
-
-
Method Detail
-
search
ISearchResults search(SearchQuery searchQuery)
Runs the givensearch query
and returns thesearch results
.- Parameters:
searchQuery
- the query to run.- Returns:
- the search results.
- Since:
- 8.1.0
-
getAutoCompleteSuggestions
List<String> getAutoCompleteSuggestions(SearchQuery searchQuery, AutoCompleteSuggestionConfig autoCompleteSuggestion)
Returns a list of auto complete suggestions for the given auto complete suggestion configuration and the search query.- Parameters:
searchQuery
- the search query the auto complete request will be based on.autoCompleteSuggestion
- the auto complete suggestion request.- Returns:
- a list of auto complete suggestions for the given auto complete suggestion request.
- Since:
- 8.1.0
-
validate
void validate(SearchQuery searchQuery) throws PortalException
Checks is the givensearch query
is syntactically correct.- Parameters:
searchQuery
- thesearch query
to be validated- Throws:
PortalException
- if there is a syntax error in query.- Since:
- 8.1.0
-
-