documents_upsert_rc
Last edit: Sep 17, 2024
Insert the document into the search index. If the document already exists in
the index, the document will be updated instead.
documents_upsert_rc(
document: HashObject!
id: ID
search_index: String!
): HashObject
Arguments
document
(HashObject
)
JSON document to be put into the <index_name> index
id
(ID
)
search_index
(String
)
Index name
Type
HashObject
Represents data as a collection of unique keys and their values. Also known as
associative arrays, maps or dictionaries. You can create it in liquid by
converting JSON object with parse_json filter or tag. It can be any level deep.