ACSCA practice question 14 of 15

In a scenario where a business wants only the node and it's metadata to be indexed and not index the node's content. What are the changes required to disable the repository-wide content indexing? Select One.

Full set: 60 questions
Answer options
A: Add the aspect cm:indexControl to all the nodes in the repository and set the properties cm:islndexed & cm:isContentlndexed to false.
B: Add the aspect cm:indexControl to all the nodes in the repository and set the property cm:islndexed to true & cm:isContentlndexed to false. Correct answer
C: Add the aspect cmxontentlndex to all the nodes in the repository and set the property cm:islndexed to false.
D: Add the aspect cm:indexControl to all the nodes in the repository and set the property cm:islndexed to false & cm:isContentlndexed to true.
Correct Answer:
B. Add the aspect cm:indexControl to all the nodes in the repository and set the property cm:islndexed to true & cm:isContentlndexed to false.
Explanation

To control indexing behavior on a per-node basis, Alfresco provides the cm:indexControl aspect. This aspect contains two boolean properties: cm:isIndexed and cm:isContentIndexed. To meet the requirement of indexing only the node's metadata and not its content, cm:isIndexed must be set to true (to index the node and its properties) and cm:isContentIndexed must be set to false (to prevent the binary content from being indexed). Applying this aspect with these settings to all nodes will achieve the desired repository-wide behavior.

Why Incorrect

A. Setting cm:isIndexed to false would prevent the node's metadata from being indexed, which contradicts the business requirement.
C. The aspect cm:contentIndex is not a valid, out-of-the-box aspect in the Alfresco content model for controlling indexing.
D. This configuration is the opposite of the requirement; it disables metadata indexing while enabling content indexing.

References

1. Alfresco Content Services 7.x Documentation, Content Model: The official documentation details the out-of-the-box content models. The contentModel.xml section describes the cm:indexControl aspect and its properties.

Source: Alfresco Content Services Documentation > Reference > Content Model > Out-of-the-box models.

Details: The cm:indexControl aspect is defined with two properties: cm:isIndexed (controls node/metadata indexing) and cm:isContentIndexed (controls content stream indexing). The default for both is true. To disable only content indexing, cm:isContentIndexed must be explicitly set to false.

2. Alfresco Content Model XML Schema Definition (contentModel.xml): The source definition file for the core content model explicitly defines the cm:indexControl aspect and its properties, serving as the primary technical reference.

Source: Alfresco Repository Source Code or deployed instance (WEB-INF/classes/alfresco/model/contentModel.xml).

Section:

Details:

xml

Index Control

d:boolean

true

...

d:boolean

true

...

This schema confirms that cm:isIndexed must be true and cm:isContentIndexed must be false to fulfill the requirement.

Scroll to Top