{
  "id": "P233",
  "slug": "mongodb-8-0-index-filters-deprecated-query-settings-setquerysettings-plancachesetfilter",
  "status": "search-observed",
  "product": "MongoDB 8.0",
  "family": "Database metric/command drift",
  "canonical_url": "https://gitdocs.org/fix/mongodb-8-0-index-filters-deprecated-query-settings-setquerysettings-plancachesetfilter",
  "query_alias_url": "https://gitdocs.org/q/mongodb-8-0-index-filters-deprecated-query-settings-setquerysettings-plancachesetfilter",
  "markdown_url": "https://gitdocs.org/fix/mongodb-8-0-index-filters-deprecated-query-settings-setquerysettings-plancachesetfilter.md",
  "json_url": "https://gitdocs.org/api/fixes/mongodb-8-0-index-filters-deprecated-query-settings-setquerysettings-plancachesetfilter.json",
  "canonical_query": "MongoDB 8.0 index filters deprecated query settings setQuerySettings planCacheSetFilter",
  "observed_codex_queries": [
    "MongoDB 8.0 index filters deprecated query settings setQuerySettings planCacheSetFilter",
    "site:mongodb.com/docs/manual MongoDB 8.0 index filters deprecated query settings",
    "MongoDB index filters deprecated in favor of query settings",
    "mongodb planCacheSetFilter deprecated",
    "https://www.mongodb.com/docs/manual/reference/command/planCacheSetFilter/",
    "'Starting in MongoDB 8.0' in https://www.mongodb.com/docs/manual/reference/command/planCacheSetFilter/"
  ],
  "organic_dependency_search_count": 6,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "Monitoring or admin code references server-side metrics/commands that are not defined in the repository.",
  "before": "",
  "after": "",
  "verification": "Verifier checks the current metric/command and equivalent alert/administration behavior. Check durability, topology-safe routing, and monitoring meaning.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": false,
    "no_web_strict_pass": null,
    "search_necessity_under_fixture": null,
    "no_web_oracle_note": "Observed query evidence is separated from necessity proof; no-web and stale-contract counterfactuals should be tracked separately."
  },
  "source_trail": [
    {
      "url": "https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility/",
      "label": "MongoDB 8.0 compatibility changes"
    },
    {
      "url": "https://www.mongodb.com/docs/manual/reference/command/planCacheSetFilter/",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
