To ingest data for testing purposes, you can use the IngestTest
action. You can use this action to view the output of the import process for a small amount of data, without the data being indexed into IDOL.
The IngestTest
action has the following parameters:
/action=IngestTest &config=[base64_encoded_config] &adds=[URL_encoded_adds_xml]
IngestTest
is similar to the Ingest
action, but has the following differences which make it suitable for testing:
IngestTest
is a synchronous action, and the document data is returned in the ACI response.updates
and removes
action parameters like you can with the Ingest
action).IdxWriter
, XmlWriter
, JsonWriter
, CsvWriter
, SqlWriter
) are disabled.is_test
is set to true
. You can use this variable in your Lua scripts to prevent certain parts of your scripts from running when you use the IngestTest
action.For more information about the IngestTest
action and its parameters, refer to the Connector Framework Server Reference.
|