Open topic with navigation
ingest function sends a new document or file to CFS for ingestion. This function differs from
import_into_this_document because it creates a new document, which is added to the ingest queue.
CFS runs Pre and Post import tasks for the new document. For this reason, do not write a Lua script that calls the
ingest function without using a condition to prevent the document being continuously ingested.
ingest( filename [, isTemporary] )
ingest( doc [, filename [, isTemporary]] )
||(LuaDocument) The document to send for ingestion.|
||(string) The name of a file to send for ingestion.|
||(boolean) Specifies whether the file is deleted after ingestion. By default, the file is not deleted (
Boolean. Always returns