{
  "slug": "gcloud-vector-search-data-object-search-accepts-dense-recall-targets-c80a44d9ed9c",
  "title": "gcloud vector-search data-object search accepts dense recall targets",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-29T00:00:00.000Z",
  "announced_at": "2026-09-29T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For a dense vector search that needs a query-time recall target, pass `--dense-scann-target-recall=<value>` to the search command; the value must be between 0 and 1 inclusive.",
    "examples": [
      "gcloud vector-search collections data-objects search --project=<PROJECT_ID> --location=<LOCATION> --collection=<COLLECTION_ID> --vector-search-field=plot_embedding --vector-from-file=<SEARCH_VECTOR_FILE> --use-index=<INDEX_ID> --dense-scann-target-recall=0.95 --top-k=10"
    ],
    "gotchas": [
      "--dense-scann-target-recall=<TARGET_RECALL>: Query-time target recall for dense ScaNN search; value is in [0, 1]. Cannot be combined with `--dense-scann-search-leaves-pct` or `--dense-scann-initial-candidate-count`.",
      "--collection=<COLLECTION> (required): Collection to search data objects from.",
      "--location=<LOCATION> (required): Location of the collection.",
      "--vector-search-field=<VECTOR_SEARCH_FIELD> (required): Vector field to search; required for vector search.",
      "--vector-from-file=<VECTOR_FROM_FILE> (required): Path to a JSON file containing the dense or sparse search vector; required for vector search.",
      "--use-index=<INDEX>: Index resource name or ID to use for the search.",
      "--top-k=<TOP_K>: Number of nearest neighbors to return; defaults to 10.",
      "Prerequisite: Initialize the Google Cloud CLI with authentication and a project, using `gcloud init` or `gcloud auth login` and `gcloud config set project`.",
      "The value must be in `[0, 1]`.",
      "The target recall applies to dense index search at query time."
    ]
  },
  "why_it_matters": "Set a query-time target recall for dense index search.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#58700_2026-09-29",
    "https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/vector-search-2/query-search/search",
    "https://docs.cloud.google.com/sdk/gcloud/reference/vector-search/collections/data-objects/search"
  ],
  "rank": 0.93023,
  "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-361ce8e7254bac08-24:gate",
    "evidence_hash": "14dd3287273a31f2f5043b6780294d9d21c31f084517ed5d8074f5c2372c8307"
  },
  "review": {
    "draft_hash": "fb72559454af173c2fdef8ded30df4762a63b5fc6bfde7575a20a66d869a56ad",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
