VasiliiGulevich A query "class NonUIThreadTestApplication" site:github.com produces no results. Expected result: https://github.com/eclipse-pde/eclipse.pde/blob/master/ui/org.eclipse.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/NonUIThreadTestApplication.java
RoxyRoxyRoxy Thought this might be a dupe of #3387 but I can repro. Maybe the contents of files aren't indexed, just the names of them? Removing the "class" from your search term returns an abundance of results.
VasiliiGulevich RoxyRoxyRoxy Results without "class" are irrelevant - they are references, while I needed a declaration (origin).
RoxyRoxyRoxy sarno Tested Yandex, Bing, DuckDuckGo, Brave, and Ecosia. Ik some of those are aggregators but figured I'd try, none of them returned anything either.
RoxyRoxyRoxy VasiliiGulevich Of course, I just wanted to demonstrate that it seems like no one indexes the contents of those files, and it’s not just a transient search issue/weirdness with GitHub
sarno VasiliiGulevich But why not just use GitHub’s own search tool for that? https://github.com/search?q=class+NonUIThreadTestApplication&type=code
VasiliiGulevich sarno Yes, Github search works fine. I've used an external search engine because I was not sure where the file in question is hosted. It could be on git.eclispe.org, gitlab.eclipse.org or github.com. The "site:" predicate was added later to better illustrate the problem in the bug report.
VasiliiGulevich Strangely, https://raw.githubusercontent.com/robots.txt returns HTTP Status 400: Invalid request