REMOVE_STOP_ENTITY

The REMOVE_STOP_ENTITY procedure removes a stop entity from an extraction policy. Only the owner of the specified policy can remove a stop entity from the policy. Removal of the stop entity will be in effect after running CTX_ENTITY.COMPILE. Either the entity_name or entity_type can be null, but not both.

Syntax

CTX_ENTITY.REMOVE_STOP_ENTITY(
  policy_name                 IN VARCHAR2,
  entity_name                 IN INTEGER DEFAULT NULL,
  entity_type                 IN VARCHAR2 DEFAULT NULL
);

policy_name

Remove the stop_entity from the specified policy.

entity_name

Specify the name to be removed from the stop entity list. The stop_entity must have already been added to the stop_entity list using CTX_ENTITY.ADD_STOP_ENTITY.

entity_type

Specify the type of entity to be removed from the stop entity list. The stop_entity must have already been added to the stop entity list using CTX_ENTITY.ADD_STOP_ENTITY.

Example

exec ctx_entity.remove_stop_entity('pol1', NULL, 'person_name');

The example statement removes the stop entity corresponding to all mentions of the entity_type person_name from the policy pol1. After execution, this stop entity will be marked as “to be deleted” in the CTX_USER_EXTRACT_STOP_ENTITIES view. The removal of the stop entity will take effect once the user runs CTX_ENTITY.COMPILE.

COMPILE

ADD_STOP_ENTITY

CTX_USER_EXTRACT_STOP_ENTITIES