Manticore Search · Schema

replaceDocumentRequest

Object containing the document data for replacing an existing document in a table.

SearchFull-Text SearchVector SearchElasticsearch CompatibleOpen SourceDatabase

Properties

Name Type Description
doc object Object containing the new document data to replace the existing one.
View JSON Schema on GitHub

JSON Schema

replaceDocumentRequest.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/replaceDocumentRequest.json",
  "title": "replaceDocumentRequest",
  "description": "Object containing the document data for replacing an existing document in a table.",
  "type": "object",
  "required": [
    "doc"
  ],
  "properties": {
    "doc": {
      "type": "object",
      "additionalProperties": true,
      "description": "Object containing the new document data to replace the existing one."
    }
  },
  "example": {
    "doc": {
      "title": "This is some title",
      "gid": 100
    }
  }
}