I have a data array with multiple objects in Algolia index as below.
[
{
status:available
startDate: 2000-10-20
endDate:2022-10-20
availablePlatform:[1,2,3]
availableCountry:908,
},
{
status:available,
startDate: 2023-10-20
endDate:2123-10-20
availablePlatform:[4,5,6,7]
AvailableCountry:[144],
},
]
I need to perform a filtering which should do a exact match within these objects.
Ex:
(1)
avails.status:available AND avails.availablePlatform:2 AND avails.availableCountry:908
This returns true as expected.
(2)
avails.status:available AND avails.availablePlatform:2 AND avails.availableCountry:144
This one also returns true as Algolia has matched availableCountry
from the second object.
But i need to return false in this scenario. Does such a capability exist?, or are there other ways of approaching this problem that folks could point me to?
Same question asked here as well https://discourse.algolia.com/t/filtering-which-should-do-a-exact-match-within-data-objects-in-an-array/16677
Thanks.