The Wayback Machine - https://web.archive.org/web/20201118160558/https://github.com/golang/gddo/issues/366
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periods ('.') in package search terms #366

Closed
yyoon opened this issue Jan 13, 2016 · 2 comments
Closed

Periods ('.') in package search terms #366

yyoon opened this issue Jan 13, 2016 · 2 comments
Assignees

Comments

@yyoon
Copy link

@yyoon yyoon commented Jan 13, 2016

I would like to be able to search for all the packages whose name start with v.io, but when I type it in the search box, it searches for just io instead.

By looking at the database code, I think this happens because the dot is considered as a term separator, and then v is dropped because it's a single character term. Is there any way I could actually search for v.io instead?

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Jan 13, 2016

I don't know how godoc search works because I almost never use it, but I can think of one workaround.

Is there any way I could actually search for v.io instead?

This is a really bad workaround, but you could go to the index page, wait for the entire huge thing to load, and then use your browser's find in page functionality to do it:

image

@yyoon
Copy link
Author

@yyoon yyoon commented Jan 15, 2016

Thanks for the comment. However, this is too slow for using regularly. It would be much better if I could search for v.io as a single term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.