Add support for Nested Conditions via AndCondition and OrCondition #433
Add support for Nested Conditions via AndCondition and OrCondition #433alexander-schranz merged 18 commits intoPHP-CMSIG:0.6from
Conversation
|
@Toflar Thank you!
If you want to give it a try a The only problem if I see currently a Geo based Conditions can not be part of a Nested Conditions. But think that is some edgecase we currently can ignore. |
…nly contain supported conditions
|
I have updated the conditions so that they are easier to use and they also only accept the supported nested conditions. Typesense is implemented as well now. For the |
|
I will take care of the memory adapter. At current state I want to keep the memory adapter as it good to have one which don't require any additional dependencies. |
|
Elasticsearch, Opensearch and Algolia are now also supported. I had to adjust the example because Algolia does not support filtering for ORs of ANDs (algolia/algoliasearch-client-php#385). |
…-search into feature/and-or-conditions
|
@Toflar Good work, thank you 👍 |
This add missing docs about the newly added `AndCondition` and `OrCondition` from #433 .
Started implementing #317.
Works for Meilisearch and Loupe, the others I haven't got any local setup for at the moment 🙈
But maybe this can be a helpful start to push it over the finishing line.
This adds 2 new conditions.
AndCondition
OrCondition
Nested conditions are now possible: