| Package | Description |
|---|---|
| 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.solr |
The package contains the Solr search integration.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
CmsSearchResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSearchParameters params)
Deprecated.
|