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 objectsThe objects to add
RECORD documentfieldsDocument fields
STRING objectidUnique objectid. Reusing this will replace the document in the index+suffix combo
STRING _idOptional OpenSearch document id, unique within the index
RECORD optionsOptions
INTEGER chunktimeoutTimeout per chunk, defaults to opensearch_write_timeout (5 minutes)
STRING suffixUse this parameter to create a subindex with this suffix
BOOLEAN synchronousWait for the added documents to become visible