boyter / searchcode

Official support channel for searchcode.com support issues and the like.
18 stars 3 forks source link

Issues with searching for identifiers in C++ namespaces #43

Closed sschuberth closed 6 years ago

sschuberth commented 6 years ago

On your internal searchcode instance we're having trouble searching for C++ identifiers that include a namespace, they are not found. To compare, I tried to search for "std::cout" on the public instance, which returns some results:

https://searchcode.com/?q=std%3A%3Acout

But interestingly, e.g. a search for "std::vector" returns a 500 error on the first try:

https://searchcode.com/?q=std%3A%3Avector

image

I seems to make a difference whether you directly click the above search URL for the first time, or whether you enter "std::vector" at https://searchcode.com/ and then click "search". The latter seems to work. Very odd...

sschuberth commented 6 years ago

Closing in favor of https://github.com/boyter/searchcode-server/issues/188.