Homepage

documents_insert_rc

Last edit: Oct 26, 2022

Insert the document into the search index. If the document already exists in
the index, the document will be updated instead.

documents_insert_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.

Contribute to this page

Github Icon

Questions?

We are always happy to help with any questions you may have.

contact us