To skip the indexing of a CBR-enabled object, change the index request operation to a SKIP operation. After you set the IndexingOperation property to SKIP, the Content Engine server sets the CmIndexingFailureCode property of the index request to MARKED_AS_SKIPPED and sets the IndexationId property of the CBR-enabled object to null. This property can be set to SKIP only if the IndexRequestStatus property of this index request has a value of NOT_STARTED or IN_PROGRESS.
The IndexingOperation property can have one of the following values:
- CREATE: Indicates that an index entry is to be created.
- UPDATE: Indicates that an existing index entry is to be replaced with an updated entry. An update index request is generated if the CBR-enabled object is modified and has a non-null IndexationId property value.
- DELETE: Indicates that an index entry is to be deleted.
- SKIP: Indicates that an index request is to be skipped. The Content Engine server sets the CmIndexingFailureCode property of the index request to MARKED_AS_SKIPPED and sets the IndexationId property of the CBR-enabled object to null. This value is the only user-settable value.
- NO_OP: For internal use only.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Property IndexingOperation As IndexingOperation |
C# |
---|
IndexingOperation IndexingOperation { get; set; } |
Visual C++ |
---|
property IndexingOperation IndexingOperation { IndexingOperation get (); void set (IndexingOperation value); } |
JavaScript |
---|
function get_indexingOperation(); function set_indexingOperation(value); |
Remarks
Metadata
AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: LONG
IsHidden: false
IsOrderable: true
IsSearchable: true
IsValueRequired: false
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
PropertyDefaultInteger32: null
PropertyMaximumInteger32: 4
PropertyMinimumInteger32: 0
RequiresUniqueElements: false
Settability: READ_WRITE
TargetAccessRequired: READ