Package lumis.portal.bigdata
Interface IBigDataSearcher
-
- All Known Subinterfaces:
IBigDataRepository
,IBigDataRepositorySPI
- All Known Implementing Classes:
ElasticsearchRepository
@StableMinor(version="17.0", sinceVersion="8.1") public interface IBigDataSearcher
Provides big data repository search operations.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.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
java.util.List<java.lang.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
-
-