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

Added option to use QueryString on some fields #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robertvanlienden
Copy link

@robertvanlienden robertvanlienden commented Feb 29, 2024

For some project we've needed to QueryString search on some specific fields.
This changes should be non-breaking, so I think there is no major release needed.

If you needed more information, feel free to reach out on Slack @Jeroen-G

@robertvanlienden robertvanlienden marked this pull request as ready for review March 4, 2024 09:08
@@ -19,6 +19,7 @@ public function test_it_builds_the_right_query(): void
'query' => 'test',
'default_operator' => 'OR',
'boost' => 1.0,
'fields' => [],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it nicer (and maybe backwards compatible for other users) if the entire fields parameter is omitted if empty?

@robertvanlienden
Copy link
Author

@Jeroen-G Agreeing with your comment from some weeks ago. Can search for some time to fix this.
For our project, some colleague found some way to archive the same result with some other query...

So this PR is not really needed; But what you think? Is this feature nice to have? Or maybe better to just close this PR?

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.

2 participants