lumis.doui.search
Class DouiIndexer
java.lang.Object
lumis.doui.search.DouiIndexer
- All Implemented Interfaces:
- IDouiIndexer
public class DouiIndexer
- extends Object
- implements IDouiIndexer
Controls persistence of Doui data in search engine, in order to make the data searchable and updated.
- Since:
- 4.0.0
Method Summary |
void |
addSearchContent(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
|
void |
indexServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
boolean localServerOnly,
ITransaction transaction)
Indexes a service instance, recreating all its indices. |
void |
mergeSearchContent(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
|
void |
removeSearchContents(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
|
protected void |
removeSearchContents(List<SearchContent> searchContents,
String selectionFieldName,
DouiIndexConfig douiIndexConfig)
|
void |
removeSearchContentsByServiceInstanceId(String serviceInstanceId,
Source source,
DouiIndexConfig douiIndexConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DouiIndexer
public DouiIndexer()
addSearchContent
public void addSearchContent(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Specified by:
addSearchContent
in interface IDouiIndexer
- Throws:
PortalException
mergeSearchContent
public void mergeSearchContent(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Specified by:
mergeSearchContent
in interface IDouiIndexer
- Throws:
PortalException
removeSearchContents
public void removeSearchContents(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Specified by:
removeSearchContents
in interface IDouiIndexer
- Throws:
PortalException
removeSearchContentsByServiceInstanceId
public void removeSearchContentsByServiceInstanceId(String serviceInstanceId,
Source source,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Specified by:
removeSearchContentsByServiceInstanceId
in interface IDouiIndexer
- Throws:
PortalException
removeSearchContents
protected void removeSearchContents(List<SearchContent> searchContents,
String selectionFieldName,
DouiIndexConfig douiIndexConfig)
throws PortalException
- Throws:
PortalException
indexServiceInstance
public void indexServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
boolean localServerOnly,
ITransaction transaction)
throws PortalException
- Description copied from interface:
IDouiIndexer
- Indexes a service instance, recreating all its indices.
- Specified by:
indexServiceInstance
in interface IDouiIndexer
- Parameters:
sessionConfig
- the user session information.serviceInstanceId
- the service instance's identifier.localServerOnly
- if true the indexing is not replicated to other
servers in the cluster.transaction
- the transaction for persistence access.
- Throws:
PortalException
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.