What's the maximum number of terms allowed for an $in or $nin metadata filter query?

Hi Richie, there is no hard limit on the number of values in your filter. However, there is a 2MB limit on request payload size, so whatever you can fit in there alongside you query vector and other metadata is your actual limit.

Hope that helps!

2 Likes