Connector Framework Server 25.1
Connector Framework Server Help

# add_to_replace

The `add_to_replace` function converts the index action that is run on a document from an add action to a replace action.

## Syntax

    add_to_replace( doc )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The document that you want to index using a replace index action, and not an add index action.

## Returns

Boolean. Returns `true` if the conversion was successful.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.1

Topic Title: add_to_replace