lumis.search
Class Searcher
java.lang.Object
lumis.search.Processor
lumis.search.Searcher
- Direct Known Subclasses:
- LuceneSearcher
@StableMinor(version="5.5",
sinceVersion="4.0")
public abstract class Searcher
- extends Processor
Searchs for data in a search engine.
- Since:
- 4.0.4
Constructor Summary |
Searcher(Node definitionNode)
Creates a Searcher, configured by the given definition node . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Searcher
public Searcher(Node definitionNode)
throws PortalException
- Creates a Searcher, configured by the given definition
node
.
- Parameters:
definitionNode
- definition node
.
- Throws:
PortalException
- Since:
- 4.0.4
search
public abstract SearchResults search(SearchQuery searchQuery)
throws PortalException
- Runs the given
search query
and returns the search 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
- Checks is the given
search query
is sintatically correct.
- Parameters:
searchQuery
- the search query
to be validated
- Throws:
SearchException
- if there is a sintax error in query.
PortalException
- Since:
- 4.0.4
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.