Connector Framework Server 12.12

# send_indexer_add

The `send_indexer_add` function sends a document to an indexer for adding to IDOL Server.

## Syntax

    send_indexer_add( doc, indexerSection )

    send_indexer_add( doc, hostname , aciPort )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The document to send for indexing.
`indexerSection` | (string) The name of a section in the CFS configuration file that contains default values for the host name and ACI port of the IDOL Server.
`hostname` | (string) The host name or IP address of the IDOL Server.
`aciPort` | (integer) The ACI Port of the IDOL Server.

## Returns

Boolean. Returns `true` if the document was successfully added to the index queue.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 12.12

Topic Title: send_indexer_add