Package lumis.search
Class Searcher
- java.lang.Object
-
- lumis.search.Processor
-
- lumis.search.Searcher
-
- Direct Known Subclasses:
LuceneSearcher
@Deprecated @StableMinor(version="14.2", sinceVersion="8.1") public abstract class Searcher extends Processor
Deprecated.Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.Searchs for data in a search engine.- Since:
- 4.0.4
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Field Summary
-
Fields inherited from class lumis.search.Processor
definitionNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract SearchResults
search(SearchQuery searchQuery)
Deprecated.Runs the givensearch query
and returns thesearch results
.abstract void
validate(SearchQuery searchQuery)
Deprecated.Checks is the givensearch query
is syntactically correct.
-
-
-
Constructor Detail
-
Searcher
public Searcher(Node definitionNode) throws PortalException
Deprecated.Creates a Searcher, configured by the given definitionnode
.- Parameters:
definitionNode
- definitionnode
.- Throws:
PortalException
- Since:
- 4.0.4
-
-
Method Detail
-
search
public abstract SearchResults search(SearchQuery searchQuery) throws PortalException
Deprecated.Runs the givensearch query
and returns thesearch results
.- Parameters:
searchQuery
- the query to run.- Returns:
- the search results.
- Throws:
PortalException
- Since:
- 4.0.4
-
validate
public abstract void validate(SearchQuery searchQuery) throws SearchException, PortalException
Deprecated.Checks is the givensearch query
is syntactically correct.- Parameters:
searchQuery
- thesearch query
to be validated- Throws:
SearchException
- if there is a syntax error in query.PortalException
- Since:
- 4.0.4
-
-