-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: API Platform
-
None
The goal is to perform an Atlas Search query for an API GET collection request.
- Use a top $search stage instead of a $match stage
- Expose searchAfter/searchBefore for pagination
Check Elasticsearch filter for inspiration: https://github.com/api-platform/core/blob/main/src/Elasticsearch/Filter/MatchFilter.php