Activate adaptive filtering in AlloyDB AI
Stay organized with collections
Save and categorize content based on your preferences.
Adaptive filtering in AlloyDB AI lets you optimize filtered vector
searches by dynamically selecting between inline filtering and pre-filtering
during query execution. You can activate adaptive filtering for your
AlloyDB instance by enabling the scann.enable_preview_features
database flag.
INSTANCE_ID: the ID of the instance where you want to enable adaptive filtering.
REGION: the region where your instance is located for example, us-central1.
CLUSTER_ID: the ID of the cluster where your instance is located.
PROJECT_ID: the ID of the project where your cluster is located.
Setting this flag to on activates the adaptive filtering behavior, allowing the query optimizer to dynamically switch between inline and pre-filtering strategies.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-12 UTC."],[],[]]