Manticore Search · Schema

boolFilter

JSON Schema for Manticore Search boolFilter

SearchFull-Text SearchVector SearchElasticsearch CompatibleOpen SourceDatabase

Properties

Name Type Description
must array Query clauses that must match for the document to be included
must_not array Query clauses that must not match for the document to be included
should array Query clauses that should be matched, but are not required
View JSON Schema on GitHub

JSON Schema

boolFilter.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/boolFilter.json",
  "title": "boolFilter",
  "description": "JSON Schema for Manticore Search boolFilter",
  "type": "object",
  "properties": {
    "must": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/queryFilter"
      },
      "description": "Query clauses that must match for the document to be included"
    },
    "must_not": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/queryFilterAlias1"
      },
      "description": "Query clauses that must not match for the document to be included"
    },
    "should": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/queryFilterAlias2"
      },
      "description": "Query clauses that should be matched, but are not required"
    }
  },
  "additionalProperties": false
}