Skip to main content
InterviewHubPRO
Section Overview
Q47

Question 47 of 50

Part 3: Enterprise FinOps, Disaster Recovery & Scale (25 - 35)

94%
Google BigQuery (50 Qs)•Part 3: Enterprise FinOps, Disaster Recovery & Scale (25 - 35)

Search Indexes and Vector Search in BigQuery: `SEARCH()` and `VECTOR_SEARCH`.

senior LevelMost AskedCode ExamplebigqueryEnterprise FinOps

In Simple Words:

  • BigQuery Search Index: Builds text indexes over STRING and JSON columns for point lookups:
    sql
    CREATE SEARCH INDEX log_search_idx ON server_logs(ALL COLUMNS);
    SELECT * FROM server_logs WHERE SEARCH(message, 'NullPointerException');
    
  • VECTOR_SEARCH: Enables approximate nearest neighbor semantic search natively in SQL using cosine similarity or Euclidean distance over text/image embeddings generated via Vertex AI.