Uses of Class
org.opencms.search.CmsSearchIndex
Packages that use 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
Methods in org.opencms.search that return CmsSearchIndexModifier and TypeMethodDescriptionCmsSearchParameters.getSearchIndex()
Returns the search index to search in or null if not set before (
).CmsSearchParameters.setSearchIndex(CmsSearchIndex)
Methods in org.opencms.search with parameters of type CmsSearchIndexModifier and TypeMethodDescriptionvoid
CmsSearchParameters.setSearchIndex
(CmsSearchIndex index) Sets the search index to use for the search.Constructors in org.opencms.search with parameters of type CmsSearchIndexModifierConstructorDescriptionCmsLuceneIndexWriter
(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
Methods in org.opencms.search.documents with parameters of type CmsSearchIndexModifier 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
Methods in org.opencms.search.fields with parameters of type CmsSearchIndexModifier and TypeMethodDescriptionvoid
CmsSearchFieldConfiguration.setIndex
(CmsSearchIndex index) Sets the index. -
Uses of CmsSearchIndex in org.opencms.search.solr
Subclasses of CmsSearchIndex in org.opencms.search.solr