Uses of Class
org.opencms.search.CmsSearchIndex
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.
These classes control the mapping of the OpenCms content to the Lucene search fields.
The package contains the Solr search integration.
-
Uses of CmsSearchIndex in org.opencms.search
Modifier and TypeMethodDescriptionCmsSearchParameters.getSearchIndex()
Returns the search index to search in or null if not set before (
).CmsSearchParameters.setSearchIndex(CmsSearchIndex)
Modifier and TypeMethodDescriptionvoid
CmsSearchParameters.setSearchIndex
(CmsSearchIndex index) Sets the search index to use for the search.ModifierConstructorDescriptionCmsLuceneIndexWriter
(org.apache.lucene.index.IndexWriter indexWriter, CmsSearchIndex index) Creates a new index writer based on the provided standard Lucene IndexWriter for the provided OpenCms search index instance. -
Uses of CmsSearchIndex 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 CmsSearchIndex in org.opencms.search.fields
Modifier and TypeMethodDescriptionvoid
CmsSearchFieldConfiguration.setIndex
(CmsSearchIndex index) Sets the index. -
Uses of CmsSearchIndex in org.opencms.search.solr