ConsilioCatalog::AddObjects (open)
Add objects to this catalog
Syntax
LOADLIB "mod::consilio/lib/catalogs.whlib";
MACRO AddObjects(RECORD ARRAY objects, RECORD options)
Parameters
RECORD ARRAY objects
The objects to add
RECORD documentfields
Document fields
STRING objectid
Unique objectid. Reusing this will replace the document in the index+suffix combo
STRING _id
Optional OpenSearch document id, unique within the index
RECORD options
Options
INTEGER chunktimeout
Timeout per chunk, defaults to opensearch_write_timeout (5 minutes)
STRING suffix
Use this parameter to create a subindex with this suffix
BOOLEAN synchronous
Wait for the added documents to become visible