lumis.content.search
Class ContentIndexer
java.lang.Object
lumis.doui.search.DouiIndexer
lumis.content.search.ContentIndexer
- All Implemented Interfaces:
- IContentIndexer, IDouiIndexer
public class ContentIndexer
- extends DouiIndexer
- implements IContentIndexer
Implements content indexing for the search engine.
- Since:
- 4.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentIndexer
public ContentIndexer()
removeContentFromIndex
public void removeContentFromIndex(Content content,
Collection<String> originalServiceInstanceIds,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Description copied from interface:
IContentIndexer
- Removes the given content from the search index.
- Specified by:
removeContentFromIndex
in interface IContentIndexer
- Parameters:
content
- the content.originalServiceInstanceIds
- the identifiers of the service instances
whose indices the content will be removed from.douiIndexConfig
- indexing configuration.
- Throws:
PortalException
reindexContent
public void reindexContent(Content content,
Collection<String> originalServiceInstanceIds,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Description copied from interface:
IContentIndexer
- Performs the re-indexing of the given content.
- Specified by:
reindexContent
in interface IContentIndexer
- Parameters:
content
- the content.originalServiceInstanceIds
- the identifiers of the service instances
whose indices the content will be removed from.douiIndexConfig
- indexing configuration.
- Throws:
PortalException
createDouiIndexConfig
public DouiIndexConfig createDouiIndexConfig(Content content)
throws PortalException
- Description copied from interface:
IContentIndexer
- Creates a default index configuration for the given content.
- Specified by:
createDouiIndexConfig
in interface IContentIndexer
- Parameters:
content
- the content.
- Returns:
- the index configuration.
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.