send_indexer_add
The send_indexer_add
function sends a document to an indexer.
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 Content component. |
hostname
|
(string) The host name or IP address of the Content component. |
aciPort
|
(integer) The ACI Port of the Content component. |
Returns
Boolean. Returns true
if the document was successfully added to the index queue.