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


send_indexer_add( doc, indexerSection )
send_indexer_add( doc, hostname , aciPort )


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.


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