Open Bug 1467539 Opened 7 years ago Updated 4 months ago

Provide user guidance on possible query strings (was: The search "symbol:" returns no results)

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: away, Unassigned)

References

(Depends on 1 open bug)

Details

I was looking for Taskcluster's symbol settings and got no results for the query "symbol:" https://searchfox.org/mozilla-central/search?q=symbol%3A I bet this is because "symbol:foo" has special meaning. I managed to hack my way around it with something like: https://searchfox.org/mozilla-central/search?q=symb.l%3A&regexp=true&path= This is probably a one-in-a-million edge case, I wouldn't be too hurt if this is wontfix.
"text:symbol:" is the workaround (without quotes when you type it in), ex: https://searchfox.org/mozilla-central/search?q=text%3Asymbol%3A&path= The parsing code is from here that is betraying you: https://github.com/mozsearch/mozsearch/blob/master/router/router.py#L60
Oh, "text:" is good to know, thank you!
I think the real problem here is that the semantics of the search query are not really user-visible. We should add some user-help documentation somewhere that explains what you can type in and what it will do.
Summary: The search "symbol:" returns no results → Provide user guidance on possible query strings (was: The search "symbol:" returns no results)
You need to log in before you can comment on or make changes to this bug.