# 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm