Description
Related Objects
- Mentioned In
- T353738: Various AphrontQueryTimeoutQueryException in global search when setting a Tag (does not happen without tag)
T308946: upstream request timeout on Phabricator
T291775: Phabricator search times out - Mentioned Here
- T307391: Enable CORS support for WCQS SPARQL endpoint access
T308946: upstream request timeout on Phabricator
T291775: Phabricator search times out
Event Timeline
@Bugreporter: Please always follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide clear steps to reproduce. (I assume that you can remember what you were searching for in which field(s), basically. You mention "specific term" but you don't tell anyone the "specific term".) Thanks!
Cannot reproduce. When I go to https://phabricator.wikimedia.org/search/query/advanced/ and enter gerrit in the Query field, then I get results at https://phabricator.wikimedia.org/search/query/i7vj09V5IFVu/ (which is a different URL).
When I use the search box in the upper right corner, set the search scope in the dropdown to "All Documents", and enter gerrit, I cannot reproduce either (same query).
@Bugreporter: So your steps must be different somehow.
Thanks everyone for confirming!
I go to https://phabricator.wikimedia.org/ . The search scope in the upper right corner is set to All Documents. I enter gerrit and then the Enter key.
In Firefox 78 with my work account, after a while I get results listed on https://phabricator.wikimedia.org/search/query/7Vf7hiUkXclv/#R
But trying the same in Chromium 81 with my personal account, I can reproduce the problem (HTTP 504 error).
Furthermore, the moment I press the Enter key I get this in the console:
core.pkg.js:1026 Uncaught TypeError: typeahead.updatePlaceHolder is not a function at Object._callback (core.pkg.js:1026) at Function.pass (core.pkg.js:164) at Function._dispatchProxy (core.pkg.js:159) at Function.dispatch (core.pkg.js:142) at HTMLHtmlElement.JX.__rawEventQueue (init.js:19)
But trying the same in Chromium 81 with my personal account, I can reproduce the problem (HTTP 504 error).
I'm on Chrome as well fwiw
medium because it works when logged in. The performance isn't great but it does return results before timing out.
With a single common keyword such as "gerrit" we match a ton of documents and the result set is huge, probably not very useful. I don't think there is a solution to that other than narrowing the search with more words.
With a single common keyword such as "gerrit" we match a ton of documents and the result set is huge, probably not very useful. I don't think there is a solution to that other than narrowing the search with more words.
Could it maybe error more usefully? Some sort of alert saying your request returned too many results please narrow it down?
We lt least need to make the result displayed, so that it will be possible to filter results by project. Usually, I only wants results from only one project, and this will reduce one click.
FWIW I get results from the linked URL. You could bookmark the global search page. Then you could go there, enter the project(s) and fulltext query, then submit them all at once to avoid the extremely resource-intensive query.
core.pkg.js:1026 Uncaught TypeError: typeahead.updatePlaceHolder is not a function
This seems like a separate / unrelated bug.
I can reproduce the following error message while logged in:
This is different to the plain text error message I just reported at T291775.
What an odd coincidence, we searched for the same thing. (T308946) Were you also looking for a CORS related task to find a suitable tag? I ended up using a web search engine. There doesn't seem to be any tag for it, guess you're supposed to use "traffic" or something.
Still an issue on 2023-11-07; I don't think this is fixable but I'd say the error message should be made clearer for end users, asking to use less broad search criteria, and/or to use the specific application search (example: tasks only) instead of the global search across all and any applications.