Has anyone used SDKs for pre-filtering in Vector Search?

Hi all,

I’ve been exploring the new pre-filtering capability in Couchbase Vector Search, and I’m trying to implement it using the Java SDK.

However, I can’t seem to find any way to set prefilter objects in the VectorQuery or VectorSearch classes. There’s no mention of filter or where clauses that can be passed in, and the documentation seems focused on the REST API.

Has anyone successfully implemented pre-filtering via the SDK?

Would appreciate any pointers or examples!

Thanks!

Hi @PShri it will be in the next release of the Java SDK, 3.9.0

https://jira.issues.couchbase.com/browse/JCBC-2193

1 Like

Any idea when it is going to be released?

Current ETA is 5th August.

Curious why the feature was added at the database level but hasn’t been made available in the SDKs yet. From a developer’s perspective, that limits its practical value.