程序包 | 说明 |
---|---|
org.opencms.search |
Implements the main full text search and indexing functions available in OpenCms.
|
org.opencms.search.documents |
Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.
|
org.opencms.search.galleries |
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
|
org.opencms.search.solr | |
org.opencms.workplace.tools.searchindex |
This package contains the tool classes for the management of search indexes and related administration views.
|
限定符和类型 | 字段和说明 |
---|---|
protected CmsSearchParameters |
CmsSearch.m_parameterRestriction
The restriction for the search parameters, used for "search in search result".
|
protected CmsSearchParameters |
CmsSearch.m_parameters
The search parameters used for searching, build out of the given individual parameter values.
|
限定符和类型 | 方法和说明 |
---|---|
CmsSearchParameters |
CmsSearch.getParameters()
Returns the search parameters used for searching, build out of the given individual parameter values.
|
CmsSearchParameters |
CmsSearchParameters.restrict(CmsSearchParameters restriction)
Creates a merged parameter set from this parameters, restricted by the given other parameters.
|
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
CmsSearchIndex.isInTimeRange(org.apache.lucene.document.Document doc,
CmsSearchParameters params)
Checks if the document is in the time range specified in the search parameters.
|
CmsSearchParameters |
CmsSearchParameters.restrict(CmsSearchParameters restriction)
Creates a merged parameter set from this parameters, restricted by the given other parameters.
|
CmsSearchResultList |
CmsSearchIndex.search(CmsObject cms,
CmsSearchParameters params)
Performs a search on the index within the given fields.
|
void |
CmsSearch.setParameters(CmsSearchParameters parameters)
Set the parameters to use if a non null instance is provided.
|
void |
CmsSearch.setResultRestriction(CmsSearchParameters restriction)
Restrict the result of the next search to the results of the last search,
restricted with the provided parameters.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
CmsTermHighlighterHtml.getExcerpt(org.apache.lucene.document.Document doc,
CmsSearchIndex index,
CmsSearchParameters params,
org.apache.lucene.search.Query query,
org.apache.lucene.analysis.Analyzer analyzer) |
java.lang.String |
I_CmsTermHighlighter.getExcerpt(org.apache.lucene.document.Document doc,
CmsSearchIndex index,
CmsSearchParameters params,
org.apache.lucene.search.Query query,
org.apache.lucene.analysis.Analyzer analyzer)
Returns an excerpt of the given document related based on the given index and query.
|
限定符和类型 | 方法和说明 |
---|---|
protected CmsSearchParameters |
CmsGallerySearchParameters.getCmsSearchParams()
Wraps this parameters to the standard search parameters, so that inherited methods in the search index
can be used.
|
限定符和类型 | 方法和说明 |
---|---|
CmsSearchResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSearchParameters params)
已过时。
|
限定符和类型 | 字段和说明 |
---|---|
protected CmsSearchParameters |
CmsSearchWidgetDialog.m_searchParams
The search parameter instance used for storing widget values and performing search.
|
构造器和说明 |
---|
CmsHookListSearchCategory(CmsSearchParameters peer) |
CmsHookListSearchCategory(CmsSearchParameters peer,
java.util.Collection<java.lang.String> c) |