Package lumis.search
Class Searcher
- java.lang.Object
-
- lumis.search.Processor
-
- lumis.search.Searcher
-
- Direct Known Subclasses:
LuceneSearcher
@Deprecated @StableMinor(version="17.0", 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$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.search.Processor
definitionNode
-
-
Constructor Summary
Constructors Constructor Description Searcher(org.w3c.dom.Node definitionNode)
Deprecated.Creates a Searcher, configured by the given 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(org.w3c.dom.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
-
-