Issues missing from the search query results #201867
Replies: 3 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
I can reproduce this, and it does not look like a query syntax issue on your side. The issue endpoint confirms that #149 exists, is a normal issue, was created by gh api repos/teemtee/fmf/issues/149 \
--jq "{number,title,user:.user.login,created_at,pull_request,html_url}"Result: {
"number": 149,
"title": "Checkout of the default branch fails on Rawhide",
"user": "psss",
"created_at": "2022-01-20T10:50:16Z",
"pull_request": null,
"html_url": "https://github.com/teemtee/fmf/issues/149"
}But these searches do not return it for me: gh api "search/issues?q=repo:teemtee/fmf+author:psss+created:2022-01-20"
gh api "search/issues?q=repo:teemtee/fmf+is:issue+author:psss+created:2022-01-20"
gh api "search/issues?q=repo:teemtee/fmf+is:issue+created:2022-01-20&advanced_search=true"The response I get has A useful workaround for tests that need correctness over search behavior is to avoid Search API for this particular assertion and page through repository issues instead, then filter locally by For GitHub staff/support, the smallest repro seems to be: # Object exists and matches the expected author/date
gh api repos/teemtee/fmf/issues/149 \
--jq "{number,user:.user.login,created_at,pull_request}"
# Search misses the same object
gh api "search/issues?q=repo:teemtee/fmf+is:issue+author:psss+created:2022-01-20" \
--jq "{total_count,incomplete_results,items:[.items[].number]}"Expected: #149 should be returned. So my read is: likely a stale/missing search index entry for that issue, not an error in your query. |
Beta Was this translation helpful? Give feedback.
-
|
I can confirm that I also observe several bugs in the search-indexing that goes corrupt or out-of-sync on GitHub leading to inconsistent results in the web UI. Stable example that exists for years: https://github.com/orgs/devonfw/teams?page=2 The team As a developer I know for myself that it can be painful to get search indexing right but something is broken here that should be fixed. |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
It seems that some items are missing in the search query results.
For example, for the following query a single issue fmf#150 is listed:
The following issue should be also included as it was created in the given range:
This was previously working for years just fine as the issue was included in the did project tests:
user,org,repoin thegithubplugin psss/did#373Any idea what might be wrong with the search?
Beta Was this translation helpful? Give feedback.
All reactions