Pass collection name to prepareFilters()

Created on 8 November 2024, about 1 month ago

Problem/Motivation

When using a database client directly using SQL, you need to know the name of the collection to build relation tables for one-to-many field values.

You also need that information to build filters with the correct joins and field identifiers, therefore pass that info to the perpareFilters() method.

Proposed resolution

Pass collection name to prepareFilters()

API changes

Change to prepareFilters() usage in SearchApiAiSearchBackend.

Change to prepareFilters() method signature in AiVdbProviderSearchApiInterface.

This will necessitate that vdb providers amend their prepareFilters() implementation method signatures.

Feature request
Status

Active

Version

1.0

Component

AI Search

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024