Qdrant · Schema

AcornSearchParams

ACORN-related search parameters

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
enable boolean If true, then ACORN may be used for the HNSW search based on filters selectivity. Improves search recall for searches with multiple low-selectivity payload filters, at cost of performance.
max_selectivity number Maximum selectivity of filters to enable ACORN. If estimated filters selectivity is higher than this value, ACORN will not be used. Selectivity is estimated as: `estimated number of points satisfying
View JSON Schema on GitHub

JSON Schema

qdrant-acornsearchparams-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AcornSearchParams",
  "title": "AcornSearchParams",
  "description": "ACORN-related search parameters",
  "type": "object",
  "properties": {
    "enable": {
      "description": "If true, then ACORN may be used for the HNSW search based on filters selectivity. Improves search recall for searches with multiple low-selectivity payload filters, at cost of performance.",
      "default": false,
      "type": "boolean"
    },
    "max_selectivity": {
      "description": "Maximum selectivity of filters to enable ACORN.\n\nIf estimated filters selectivity is higher than this value, ACORN will not be used. Selectivity is estimated as: `estimated number of points satisfying the filters / total number of points`.\n\n0.0 for never, 1.0 for always. Default is 0.4.",
      "type": "number",
      "format": "double",
      "maximum": 1,
      "minimum": 0,
      "nullable": true
    }
  }
}