@Deprecated public class LuceneSearcher extends Searcher
Searcher
, but now is an adapter from the old Seacher
API to the new big data API.definitionNode
Constructor and Description |
---|
LuceneSearcher()
Deprecated.
|
Modifier and Type | Method and 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 given
search query and returns the search results . |
void |
validate(SearchQuery searchQuery)
Deprecated.
Checks is the given
search query is syntactically correct. |
public LuceneSearcher() throws PortalException
PortalException
public SearchResults search(SearchQuery searchQuery) throws PortalException
Searcher
search query
and returns the search results
.search
in class Searcher
searchQuery
- the query to run.PortalException
protected String getMainPublishedContextUrlValue(ISearchHit hit) throws PortalException
hit
- the search hit.PortalException
public void validate(SearchQuery searchQuery) throws SearchException, PortalException
Searcher
search query
is syntactically correct.validate
in class Searcher
searchQuery
- the search query
to be validatedSearchException
- if there is a syntax error in query.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.