程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsIndexWriter |
CmsSearchIndex.createIndexWriter(boolean create,
I_CmsReport report)
Creates a new index writer.
|
void |
I_CmsIndexer.deleteResources(I_CmsIndexWriter indexWriter,
java.util.List<CmsPublishedResource> resourcesToDelete)
Incremental index update - delete the index entry for all resources in the given list.
|
I_CmsIndexWriter |
CmsSearchIndex.getIndexWriter(I_CmsReport report,
boolean create)
Returns a new index writer for this index.
|
CmsSearchIndexUpdateData |
I_CmsIndexer.getUpdateData(CmsSearchIndexSource source,
java.util.List<CmsPublishedResource> publishedResources)
Calculates the data for an incremental search index update.
|
protected void |
CmsSearchIndex.indexWriterUnlock(I_CmsReport report)
Unlocks the Lucene index writer of this index if required.
|
void |
CmsDependencyIndexer.rebuildIndex(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
CmsSearchIndexSource source) |
void |
CmsVfsIndexer.rebuildIndex(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
CmsSearchIndexSource source) |
void |
I_CmsIndexer.rebuildIndex(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
CmsSearchIndexSource source)
Rebuilds the index for the given configured index source.
|
protected void |
CmsVfsIndexer.updateResource(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
CmsResource resource)
Updates (writes) a single resource in the index.
|
void |
CmsVfsIndexer.updateResources(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
java.util.List<CmsPublishedResource> resourcesToUpdate) |
void |
I_CmsIndexer.updateResources(I_CmsIndexWriter writer,
CmsIndexingThreadManager threadManager,
java.util.List<CmsPublishedResource> resourcesToUpdate)
Incremental index update - create a new index entry for all resources in the given list.
|
限定符和类型 | 类和说明 |
---|---|
class |
CmsIndexNoContentException
Signals an error during content extraction of an empty document.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsExtractionResult |
CmsDocumentMsOfficeOOXML.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentHtml.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given VFS resource containing HTML data.
|
I_CmsExtractionResult |
CmsDocumentGeneric.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Just returns an empty extraction result since the content can't be extracted form a generic resource.
|
I_CmsExtractionResult |
CmsDocumentPdf.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing Adobe PDF data.
|
I_CmsExtractionResult |
CmsDocumentOpenOffice.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentMsOfficeOLE2.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|