{
  "slug": "gcloud-beta-vector-search-data-objects-search-adds-dense-scann-parameters-e6f4ca0937ac",
  "title": "gcloud beta vector-search data-objects search adds dense ScaNN parameters",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-24T00:00:00.000Z",
  "announced_at": "2026-02-24T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For dense vector search using an index, pass the ScaNN tuning flags to `gcloud beta vector-search collections data-objects search`. Supply either flag or both; do not combine them with `--dense-scann-target-recall`.",
    "examples": [
      "gcloud beta vector-search collections data-objects search --collection=<collection> --location=<location> --vector-search-field=<vector-field> --vector-from-file=<vector.json> --use-index=<index> --dense-scann-search-leaves-pct=<percentage> --dense-scann-initial-candidate-count=<candidate-count>"
    ],
    "gotchas": [
      "Availability: beta",
      "--collection (required): Collection to search data objects from.",
      "--location (required): Location of the collection.",
      "--vector-search-field (required): Vector field to search; required for vector search.",
      "--vector-from-file (required): Path to a JSON file containing the dense or sparse query vector; required for vector search.",
      "--use-index (required): Index resource name or ID; required when specifying Dense ScaNN tuning flags.",
      "--dense-scann-search-leaves-pct: Percentage of leaves to search for dense ScaNN, in the range [0, 100]. Can be used with `--dense-scann-initial-candidate-count`; cannot be combined with `--dense-scann-target-recall`.",
      "--dense-scann-initial-candidate-count: Number of initial candidates for dense ScaNN. Can be used with `--dense-scann-search-leaves-pct`; cannot be combined with `--dense-scann-target-recall`.",
      "--dense-scann-target-recall: Query-time target recall for dense ScaNN, a value in [0, 1]; mutually exclusive with either low-level Dense ScaNN override."
    ]
  },
  "why_it_matters": "Search Vector Search data objects using dense ScaNN parameters.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#55800_2026-02-24",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/vector-search/collections/data-objects/search"
  ],
  "rank": 0.96028,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-cabc05de586fa0ae-14:gate",
    "evidence_hash": "01002439ac70fdf2a08a97443425c1d11304ce77aaaf3cc8e45d1b0098cd0b78"
  },
  "review": {
    "draft_hash": "7bc020bb12cafcb74a8ffdfe62e0e83521406aab35481571d7398b20baaf7171",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.65 (>= 0.6 needed)."
  }
}
