Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter and sort via Meilisearch #36

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

helloiamlukas
Copy link

Until now the where clauses were applied after the search results have been returned.
This pull request uses the built in filter query of Meilisearch to apply the where clauses.

It is build on top of this: #35

@ryanmitchell
Copy link
Contributor

It would be great to get some test coverage for this as it feels potentially breaking.

From scanning the code i think it will also only handle 1-level deep where's, whereas currently we can handle nested where's.

@helloiamlukas helloiamlukas marked this pull request as draft May 13, 2024 09:32
@helloiamlukas helloiamlukas changed the title Allow filtering by using where Filter and sort via Meilisearch May 13, 2024
@ryanmitchell
Copy link
Contributor

Once #40 merges could you update this with some test coverage for the current behaviour (standard searching on all fields as its done through the CP) and your new additions so we can ensure that nothing breaks.

@KieMaverick
Copy link

Could really do with this being merged in!

@ryanmitchell
Copy link
Contributor

@KieMaverick as indicated, theres no test coverage and it breaks current behaviour so that cant happen as things stand.

@helloiamlukas
Copy link
Author

@KieMaverick Feel free to update this pull request. I currently have not so much time working on it, would appreciate the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants