We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Usability of and/or queries is hampered by tight binding to filters. The query:
repo:^github\.com/sourcegraph/sourcegraph$ (a and b) or (c and d)
needs parentheses:
repo:^github\.com/sourcegraph/sourcegraph$ ((a and b) or (c and d))
as the hoist heuristic is not sufficient for more nested expressions. For future nested searches, the interpretation
(repo:^github\.com/sourcegraph/sourcegraph$ a and b) or (c and d)
is indeed what we want, but this is arguably less common than the former example. The right move might just be to remove tight binding to fields.
The text was updated successfully, but these errors were encountered:
An ideal solution would be to have a "showing results for..." with a parenthesized query according to some heuristics, that can be changed.
Sorry, something went wrong.
Similar to examples in #9816
All reasonable heuristics are implemented in previous iterations, closing.
rvantonder
No branches or pull requests
Usability of and/or queries is hampered by tight binding to filters. The query:
repo:^github\.com/sourcegraph/sourcegraph$ (a and b) or (c and d)
needs parentheses:
repo:^github\.com/sourcegraph/sourcegraph$ ((a and b) or (c and d))
as the hoist heuristic is not sufficient for more nested expressions. For future nested searches, the interpretation
(repo:^github\.com/sourcegraph/sourcegraph$ a and b) or (c and d)
is indeed what we want, but this is arguably less common than the former example. The right move might just be to remove tight binding to fields.
The text was updated successfully, but these errors were encountered: