Uses of Class
org.opencms.search.CmsSearchParameters
Package
Description
Implements the main full text search and indexing functions available in OpenCms.
Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.
The package contains the Solr search integration.
-
Uses of CmsSearchParameters in org.opencms.search
Modifier and TypeFieldDescriptionprotected 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.Modifier and TypeMethodDescriptionCmsSearch.getParameters()
Returns the search parameters used for searching, build out of the given individual parameter values.CmsSearchParameters.restrict
(CmsSearchParameters restriction) Creates a merged parameter set from this parameters, restricted by the given other parameters.Modifier and TypeMethodDescriptionprotected 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.restrict
(CmsSearchParameters restriction) Creates a merged parameter set from this parameters, restricted by the given other parameters.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. -
Uses of CmsSearchParameters in org.opencms.search.documents
Modifier and TypeMethodDescriptionCmsTermHighlighterHtml.getExcerpt
(org.apache.lucene.document.Document doc, CmsSearchIndex index, CmsSearchParameters params, org.apache.lucene.search.Query query, org.apache.lucene.analysis.Analyzer analyzer) 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. -
Uses of CmsSearchParameters in org.opencms.search.solr
Modifier and TypeMethodDescriptionCmsSolrIndex.search
(CmsObject cms, CmsSearchParameters params) Deprecated.
CmsSolrIndex.search(CmsObject, SolrQuery)
orCmsSolrIndex.search(CmsObject, String)
instead