Qdrant · Schema

SearchParams

Additional parameters of the search

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
hnsw_ef integer Params relevant to HNSW index Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search.
exact boolean Search without approximation. If set to true, search may run long but with exact results.
quantization object Quantization params
indexed_only boolean If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors wil
acorn object ACORN search params
View JSON Schema on GitHub

JSON Schema

qdrant-searchparams-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchParams",
  "title": "SearchParams",
  "description": "Additional parameters of the search",
  "type": "object",
  "properties": {
    "hnsw_ef": {
      "description": "Params relevant to HNSW index Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search.",
      "type": "integer",
      "format": "uint",
      "minimum": 0,
      "nullable": true
    },
    "exact": {
      "description": "Search without approximation. If set to true, search may run long but with exact results.",
      "default": false,
      "type": "boolean"
    },
    "quantization": {
      "description": "Quantization params",
      "anyOf": [
        {
          "$ref": "#/components/schemas/QuantizationSearchParams"
        },
        {
          "nullable": true
        }
      ]
    },
    "indexed_only": {
      "description": "If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors will be included in search results",
      "default": false,
      "type": "boolean"
    },
    "acorn": {
      "description": "ACORN search params",
      "anyOf": [
        {
          "$ref": "#/components/schemas/AcornSearchParams"
        },
        {
          "nullable": true
        }
      ]
    }
  }
}