public interface IContentIndexer
Modifier and Type | Field and Description |
---|---|
static String |
FIELDNAME_CONTENT_ID
Name of the field used to store the content's identifier in the search
index.
|
static String |
FIELDNAME_LAST_MODIFIED_DATE_TIME
Name of the field used to store the content version's last modified
date time.
|
static String |
SERVICE_INSTANCE_IDS_ATTRIBUTE_NAME
The attribute name used to store the service instance identifiers
in the transaction, for use when removing the content from the index.
|
Modifier and Type | Method and Description |
---|---|
DouiIndexConfig |
createDouiIndexConfig(Content content)
Creates a default index configuration for the given content.
|
void |
reindexContent(Content content,
Collection<String> serviceInstanceIds,
DouiIndexConfig douiIndexConfig)
Performs the re-indexing of the given content.
|
void |
removeContentFromIndex(Content content,
Collection<String> serviceInstanceIds,
DouiIndexConfig douiIndexConfig)
Removes the given content from the search index.
|
static final String FIELDNAME_CONTENT_ID
static final String FIELDNAME_LAST_MODIFIED_DATE_TIME
static final String SERVICE_INSTANCE_IDS_ATTRIBUTE_NAME
DouiIndexConfig createDouiIndexConfig(Content content) throws PortalException
content
- the content.PortalException
void removeContentFromIndex(Content content, Collection<String> serviceInstanceIds, DouiIndexConfig douiIndexConfig) throws PortalException
content
- the content.serviceInstanceIds
- the identifiers of the service instances
whose indices the content will be removed from.douiIndexConfig
- indexing configuration.PortalException
void reindexContent(Content content, Collection<String> serviceInstanceIds, DouiIndexConfig douiIndexConfig) throws PortalException
content
- the content.serviceInstanceIds
- the identifiers of the service instances
whose indices the content will be removed from.douiIndexConfig
- indexing configuration.PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.