lumis.search.lucene
Class LuceneSearcher
java.lang.Object
lumis.search.Processor
lumis.search.Searcher
lumis.search.lucene.LuceneSearcher
public class LuceneSearcher
- extends Searcher
Lucene implementation for Searcher
.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneSearcher
public LuceneSearcher(Node searcherNode)
throws PortalException
- Throws:
PortalException
getQuery
protected org.apache.lucene.search.Query getQuery(SearchQuery searchQuery)
throws SearchException,
PortalException
- Throws:
SearchException
PortalException
search
public SearchResults search(SearchQuery searchQuery)
throws PortalException
- Description copied from class:
Searcher
- Runs the given
search query
and returns the search results
.
- Specified by:
search
in class Searcher
- Parameters:
searchQuery
- the query to run.
- Returns:
- the search results.
- Throws:
PortalException
validate
public void validate(SearchQuery searchQuery)
throws SearchException,
PortalException
- Description copied from class:
Searcher
- Checks is the given
search query
is sintatically correct.
- Specified by:
validate
in class Searcher
- Parameters:
searchQuery
- the search query
to be validated
- Throws:
SearchException
- if there is a sintax error in query.
PortalException
getIndexBasePaths
protected List<String> getIndexBasePaths(SearchQuery searchQuery)
throws PortalException
- Throws:
PortalException
getIndexBasePaths
protected List<String> getIndexBasePaths(SearchAttributes searchAttributes)
throws PortalException
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.