Qdrant · Schema

TextIndexParams

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
type object
tokenizer object
min_token_len integer Minimum characters to be tokenized.
max_token_len integer Maximum characters to be tokenized.
lowercase boolean If true, lowercase all tokens. Default: true.
ascii_folding boolean If true, normalize tokens by folding accented characters to ASCII (e.g., "ação" -> "acao"). Default: false.
phrase_matching boolean If true, support phrase matching. Default: false.
stopwords object Ignore this set of tokens. Can select from predefined languages and/or provide a custom set.
on_disk boolean If true, store the index on disk. Default: false.
stemmer object Algorithm for stemming. Default: disabled.
enable_hnsw boolean Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true.
View JSON Schema on GitHub

JSON Schema

qdrant-textindexparams-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextIndexParams",
  "title": "TextIndexParams",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "$ref": "#/components/schemas/TextIndexType"
    },
    "tokenizer": {
      "$ref": "#/components/schemas/TokenizerType"
    },
    "min_token_len": {
      "description": "Minimum characters to be tokenized.",
      "type": "integer",
      "format": "uint",
      "minimum": 0,
      "nullable": true
    },
    "max_token_len": {
      "description": "Maximum characters to be tokenized.",
      "type": "integer",
      "format": "uint",
      "minimum": 0,
      "nullable": true
    },
    "lowercase": {
      "description": "If true, lowercase all tokens. Default: true.",
      "type": "boolean",
      "nullable": true
    },
    "ascii_folding": {
      "description": "If true, normalize tokens by folding accented characters to ASCII (e.g., \"a\u00e7\u00e3o\" -> \"acao\"). Default: false.",
      "type": "boolean",
      "nullable": true
    },
    "phrase_matching": {
      "description": "If true, support phrase matching. Default: false.",
      "type": "boolean",
      "nullable": true
    },
    "stopwords": {
      "description": "Ignore this set of tokens. Can select from predefined languages and/or provide a custom set.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/StopwordsInterface"
        },
        {
          "nullable": true
        }
      ]
    },
    "on_disk": {
      "description": "If true, store the index on disk. Default: false.",
      "type": "boolean",
      "nullable": true
    },
    "stemmer": {
      "description": "Algorithm for stemming. Default: disabled.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/StemmingAlgorithm"
        },
        {
          "nullable": true
        }
      ]
    },
    "enable_hnsw": {
      "description": "Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true.",
      "type": "boolean",
      "nullable": true
    }
  }
}