-
Notifications
You must be signed in to change notification settings - Fork 65
Add possibility to show facets with 0 matching documents #695
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! I had just few comments
README.md
Outdated
### Placeholder Search | ||
|
||
Placeholders search means showing results even when the search query is empty. By default it is `true`. | ||
If set to `false`, only when a request is made with at least one character, results will appear. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is maybe came from me but I find this sentence hard to understand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If set to `false`, results will appear only when a request is made with at least one character.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When placeholder search is set to
false
, no results appears when searching on no characters. For example, if the query is""
no results appear.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect
Co-authored-by: Amélie <alallema@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 💪
bors merge |
Is this in production yet? This is still a pain point for us. |
It is in production, could you open an issue with your specific setup that does not work? |
fixes: #599
Some improvements were done on the readme as well