Help with Databricks vector search index advanced metadata filtering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2025 11:57 PM - edited 01-02-2025 12:01 AM
I have been able to successfully implement a Databricks vector search index with metadata filtering (How to create and query a vector search index | Databricks on AWS).
However, I am facing a challenge when implementing a more advanced filtering mechanism.
In my setup, I have a metadata column in the index that contains an array of strings. I need to create a filter that identifies matches based on the intersection between an input array and the index array. Specifically, a match should occur if the intersection returns at least one common value.
I don't see a straightforward way to do this with the existing Databricks vector search filter options.
Thanks for any advice!