Only 100 results? #9868
-
I am noticing that most searches are only yielding 5 pages of results. Is this just a side-effect of CodeSearch being in preview mode, or is the expectation that each search will only show the first 100 results? As someone who has been using GitHub search for total counts, I am extremely interested to know if codesearch will be usable for determining total occurrences of terms across (unique) repositories. The 5 page limit with no indication of total counts makes it extremely difficult to use Code Search in its current form. The first screenshot below looks way more useful to me than the 2nd: old search: new search: |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 23 replies
-
We have hundreds of repos that are on .NET 5. As part of our migration to .NET 6, it would be useful to be able to query for .csproj files that are .NET 5 and see all of them so that we can plan on our migrations. |
Beta Was this translation helpful? Give feedback.
-
We are working on an API and intend to allow exhaustive search via the API without the 100 result limit. As for estimating result set size, we've heard this feedback before and are working on it! |
Beta Was this translation helpful? Give feedback.
-
I understand the need for limits, but 100 seems very small. Large-scale refactoring and clean-up operations within an organization often touch hundreds of files or call sites. For larger result sets I'd be happy with just a list of affected files, or even repositories, so that I can use the search results as roots and do the rest in my scripts. Increasing this limit by a factor of 10 would be a welcome step. Regardless of the limit, it would also be very useful to be able to download the result set in a simple grep-like format ("file:line: text"). A dense result set would save the need to scrape filenames out of 5 or more HTML pages of results. I know that a 'gh search' tool is coming and will provide this feature, but it would be useful in the web interface too. Furthermore, showing complete results within an organization's scope seems like an important feature for clean-up tasks, where you need to know that you've found all matches. |
Beta Was this translation helpful? Give feedback.
-
I'm running into this as well. We're trying to build some statistics across our org on adoption of a few specific internal libraries, but the limit of 100 results is meaning that I can't easily find my answers. I'd be happy enough with the ability to paginate through all of them with a cursor and a lower rate limit as long as I could retrieve all of the results. |
Beta Was this translation helpful? Give feedback.
-
So is there any solution to the 100 results limit? |
Beta Was this translation helpful? Give feedback.
-
hi. |
Beta Was this translation helpful? Give feedback.
-
unbelievable |
Beta Was this translation helpful? Give feedback.
-
Ugh, this is crazy. |
Beta Was this translation helpful? Give feedback.
-
Regardless of how much frustration you might feel, these are not constructive ways to vent it (and if you made these comments on my issue tracker, I would feel less, not more, inclined to help you). Bear in mind that software maintainers always have dozens of things competing for their attention. If this issue is important to you, argue the case. |
Beta Was this translation helpful? Give feedback.
-
seems that you didn't get that this has nothing with some specific developer/field. They are still here trying to help creating issues and using the platform. It's just people tired about the mistakes the company did, messing one of the most used feature by them. It's just a genuine expression about what happened here and how github is handling it. The issue itself has enough detail about what they miss. Unbelievable. |
Beta Was this translation helpful? Give feedback.
-
It's just Microshit trying to prevent LLMs other than their chatgpt getting trained on open source code. Github is done. |
Beta Was this translation helpful? Give feedback.
We are working on an API and intend to allow exhaustive search via the API without the 100 result limit.
As for estimating result set size, we've heard this feedback before and are working on it!