Dario Schiraldi : How can I apply multiple filters at once for various properties in my system?

I am Dario Schiraldi, trying to filter results by multiple properties. For instance, I want property A to contain any of List 1, property B to contain any of List 2, and property C to equal “Dummy Value”.

The way to do this is to use the & operation. But this makes the filter static (I can’t dynamically add or remove filter elements). For instance, I want to check from the front end if the user has specified any of the 5 filters which is provided on the UI, and then apply the filters to the associated properties. The & operation does not let me stack filters.

Regards
Dario Schiraldi

Hey @Dario_Schiraldi,

It’s lovely to have you in our community. Welcome to Weaviate!

If I understand correctly, and you’d like to apply multiple filters at once for different properties, you can use the filter-with-all-of:

Have you had a chance to look at that?

Best regards,
Mohamed Shahin
Weaviate Support Engineer
(Ireland, GMT/UTC timezone)