|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContentIndexer
Provides operations on content search indexing.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final String FIELDNAME_CONTENT_ID
static final String FIELDNAME_LAST_MODIFIED_DATE_TIME
static final String SERVICE_INSTANCE_IDS_ATTRIBUTE_NAME
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |