Package lumis.search.lucene
Class LuceneSearcher
- java.lang.Object
-
- lumis.search.Processor
-
- lumis.search.Searcher
-
- lumis.search.lucene.LuceneSearcher
-
@Deprecated public class LuceneSearcher extends Searcher
Deprecated.Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.This class previously was the Lucene implementation forSearcher
, but now is an adapter from the old Seacher API to the new big data API.- Since:
- 4.0.0
- Version:
- $Revision: 22372 $ $Date: 2019-02-06 19:01:54 -0200 (Wed, 06 Feb 2019) $
-
-
Field Summary
-
Fields inherited from class lumis.search.Processor
definitionNode
-
-
Constructor Summary
Constructors Constructor Description LuceneSearcher()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getMainPublishedContextUrlValue(ISearchHit hit)
Deprecated.Returns the main context URL value that user has access permission.SearchResults
search(SearchQuery searchQuery)
Deprecated.Runs the givensearch query
and returns thesearch results
.void
validate(SearchQuery searchQuery)
Deprecated.Checks is the givensearch query
is syntactically correct.
-
-
-
Constructor Detail
-
LuceneSearcher
public LuceneSearcher() throws PortalException
Deprecated.- Throws:
PortalException
-
-
Method Detail
-
search
public SearchResults search(SearchQuery searchQuery) throws PortalException
Deprecated.Description copied from class:Searcher
Runs the givensearch query
and returns thesearch results
.- Specified by:
search
in classSearcher
- Parameters:
searchQuery
- the query to run.- Returns:
- the search results.
- Throws:
PortalException
-
getMainPublishedContextUrlValue
protected String getMainPublishedContextUrlValue(ISearchHit hit) throws PortalException
Deprecated.Returns the main context URL value that user has access permission.- Parameters:
hit
- the search hit.- Returns:
- the main context URL value that user has access permission.
- Throws:
PortalException
- Since:
- 8.1.0
-
validate
public void validate(SearchQuery searchQuery) throws SearchException, PortalException
Deprecated.Description copied from class:Searcher
Checks is the givensearch query
is syntactically correct.- Specified by:
validate
in classSearcher
- Parameters:
searchQuery
- thesearch query
to be validated- Throws:
SearchException
- if there is a syntax error in query.PortalException
-
-