I am currently building a solution that has a number of Venues (Content Item) that have a list of Courses that are at the location. I am currently able to filter the venues based on a geolocation field that is present on the Venue content item. I have indexed the list onto the developer index and an example of this can be found below:
"RelatedCourses$$nested": [ {"EndDate$$date": "2017-12-06T00:00:00Z","IsWeekdayCourse$$bool": true,"IsWeekendCourse$$bool": true,"StartDate$$date": "2017-12-04T00:00:00Z" }, {"EndDate$$date": "2017-12-14T00:00:00Z","IsWeekdayCourse$$bool": true,"IsWeekendCourse$$bool": true,"StartDate$$date": "2017-12-16T00:00:00Z" }, {"EndDate$$date": "2017-12-10T00:00:00Z","IsWeekdayCourse$$bool": true,"IsWeekendCourse$$bool": true,"StartDate$$date": "2017-12-11T00:00:00Z" } ],
When I come to filter the courses, I can not seem to filter out the courses that do not meet the criteria, such as start dates. If I use the find filter query, all of the courses are returned if there is a single match rather than only returning valid courses. If there are no matches this works as expected and does not return anything.
I have been looking at the Nested2Find and this has the same issue as the normal find queries.
Is there a way to do this using find?