@Deprecated @StableMinor(version="12.4", sinceVersion="8.1") public abstract class Searcher extends Processor
definitionNode
Constructor and Description |
---|
Searcher(Node definitionNode)
Deprecated.
Creates a Searcher, configured by the given definition
node . |
Modifier and Type | Method and Description |
---|---|
abstract SearchResults |
search(SearchQuery searchQuery)
Deprecated.
Runs the given
search query and returns the search results . |
abstract void |
validate(SearchQuery searchQuery)
Deprecated.
Checks is the given
search query is syntactically correct. |
public Searcher(Node definitionNode) throws PortalException
node
.definitionNode
- definition node
.PortalException
public abstract SearchResults search(SearchQuery searchQuery) throws PortalException
search query
and returns the search results
.searchQuery
- the query to run.PortalException
public abstract void validate(SearchQuery searchQuery) throws SearchException, PortalException
search query
is syntactically correct.searchQuery
- the search query
to be validatedSearchException
- if there is a syntax error in query.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.