| 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.fields |
These classes control the mapping of the OpenCms content to the Lucene search fields.
|
| org.opencms.search.solr |
The package contains the Solr search integration.
|
| org.opencms.ui.apps.searchindex |
Contains classes of the searchindex app.
|
| Modifier and Type | Class and Description |
|---|---|
class |
A_CmsSearchIndex
Abstract base class for search indexes.
|
class |
CmsSearchIndex
Abstract search index implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected I_CmsSearchIndex |
CmsVfsIndexer.m_index
The index.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<I_CmsSearchIndex> |
CmsSearchManager.m_offlineIndexes
The list of indexes that are configured for offline index mode.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchIndex |
CmsVfsIndexer.getIndex()
Returns the OpenCms search index updated by this indexer.
|
I_CmsSearchIndex |
CmsSearchManager.getIndex(java.lang.String indexName)
Returns the Lucene search index configured with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<I_CmsSearchIndex> |
CmsSearchManager.getSearchIndexes()
Returns an unmodifiable list of all configured
instances. |
java.util.List<I_CmsSearchIndex> |
CmsSearchManager.getSearchIndexesAll()
Returns an unmodifiable list of all configured
instances. |
| Modifier and Type | Method and Description |
|---|---|
void |
CmsSearchManager.addSearchIndex(I_CmsSearchIndex searchIndex)
Adds a search index to the configuration.
|
protected I_CmsSearchDocument |
CmsIndexingThread.createIndexDocument(CmsObject cms,
CmsResource res,
I_CmsSearchIndex index,
int count,
I_CmsReport report)
Creates the search index document.
|
I_CmsIndexer |
CmsVfsIndexer.newInstance(CmsObject cms,
I_CmsReport report,
I_CmsSearchIndex index) |
I_CmsIndexer |
I_CmsIndexer.newInstance(CmsObject cms,
I_CmsReport report,
I_CmsSearchIndex index)
Creates and initializes a new instance of this indexer implementation.
|
void |
CmsSearchManager.removeSearchIndex(I_CmsSearchIndex searchIndex)
Removes a search index from the configuration.
|
protected boolean |
CmsSearchManager.shouldUpdateAtAll(I_CmsSearchIndex index)
Checks, if the index should be rebuilt/updated at all by the search manager.
|
protected void |
CmsSearchManager.updateIndex(I_CmsSearchIndex index,
I_CmsReport report,
java.util.List<CmsPublishedResource> resourcesToIndex)
Updates (if required creates) the index with the given name.
|
protected void |
CmsSearchManager.updateIndexCompletely(CmsObject cms,
I_CmsSearchIndex index,
I_CmsReport report)
The method updates all OpenCms documents that are indexed.
|
protected void |
CmsSearchManager.updateIndexIncremental(CmsObject cms,
I_CmsSearchIndex index,
I_CmsReport report,
java.util.List<CmsPublishedResource> resourcesToIndex)
Incrementally updates the given index.
|
| Constructor and Description |
|---|
CmsIndexingThread(CmsObject cms,
CmsResource res,
I_CmsSearchIndex index,
int count,
I_CmsReport report)
Create a new indexing thread.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchDocument |
A_CmsVfsDocument.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Generates a new lucene document instance from contents of the given resource for the provided index.
|
I_CmsSearchDocument |
I_CmsDocumentFactory.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Creates the Lucene Document for the given VFS resource and the given search index.
|
I_CmsSearchDocument |
CmsDocumentContainerPage.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Generates a new lucene document instance from contents of the given resource for the provided index.
|
I_CmsSearchDocument |
CmsDocumentXmlContent.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index) |
I_CmsExtractionResult |
CmsDocumentPdf.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing Adobe PDF data.
|
I_CmsExtractionResult |
CmsDocumentMsOfficeOOXML.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentPlainText.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing plain text data.
|
I_CmsExtractionResult |
CmsDocumentHtml.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given VFS resource containing HTML data.
|
I_CmsExtractionResult |
CmsDocumentGeneric.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Just returns an empty extraction result since the content can't be extracted form a generic resource.
|
I_CmsExtractionResult |
I_CmsSearchExtractor.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Extracts the content of a given index resource according to the resource file type and the
configuration of the given index.
|
I_CmsExtractionResult |
CmsDocumentRtf.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing RTF data.
|
I_CmsExtractionResult |
CmsDocumentXmlPage.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource of type
CmsResourceTypeXmlPage. |
I_CmsExtractionResult |
CmsDocumentMsOfficeOLE2.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentOpenOffice.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentContainerPage.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a VFS resource of type
CmsResourceTypeContainerPage. |
I_CmsExtractionResult |
CmsDocumentXmlContent.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a given VFS resource of type
CmsResourceTypeXmlContent. |
protected void |
A_CmsVfsDocument.logContentExtraction(CmsResource resource,
I_CmsSearchIndex index)
Logs content extraction for the specified resource and index.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchIndex |
CmsSearchFieldConfiguration.getIndex()
Returns the index.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchDocument |
I_CmsSearchFieldConfiguration.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index,
I_CmsExtractionResult extractionResult)
Creates the document to index.
|
I_CmsSearchDocument |
CmsSearchFieldConfiguration.createDocument(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index,
I_CmsExtractionResult extraction)
Creates the Lucene Document with this field configuration for the provided VFS resource, search index and content.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CmsSolrIndex
Implements the search within an Solr index.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsExtractionResult |
CmsSolrDocumentXmlContent.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index) |
I_CmsExtractionResult |
CmsSolrDocumentContainerPage.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Returns the raw text content of a VFS resource of type
CmsResourceTypeContainerPage. |
I_CmsExtractionResult |
CmsSolrDocumentContainerPage.extractContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index,
java.util.Locale forceLocale)
Extracts the content of a given index resource according to the resource file type and the
configuration of the given index.
|
static CmsExtractionResult |
CmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index)
Extracts the content of a single XML content resource.
|
static CmsExtractionResult |
CmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms,
CmsResource resource,
I_CmsSearchIndex index,
java.util.Locale forceLocale)
Extracts the content of a single XML content resource.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchIndex |
CmsSearchindexApp.getElement(java.lang.String elementId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<I_CmsSearchIndex> |
CmsSearchindexApp.getAllElements() |
| Modifier and Type | Method and Description |
|---|---|
void |
CmsSearchindexApp.createElement(I_CmsSearchIndex element) |
void |
CmsSearchindexApp.writeElement(I_CmsSearchIndex element) |
| Constructor and Description |
|---|
CmsSourceDialog(I_CmsCRUDApp<I_CmsSearchIndex> app,
java.lang.Runnable cancel)
public constructor.
|