]> Cypherpunks repositories - gostls13.git/commit
Addressing issue brought up by dsymonds:
authorRobert Griesemer <gri@golang.org>
Mon, 9 Nov 2009 07:34:08 +0000 (23:34 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 9 Nov 2009 07:34:08 +0000 (23:34 -0800)
commitd731dc8e72955e05fc69536aae7f6be328e3922c
tree17e0b86b1d7eb79c5bd6574251bceb8d21611100
parent71983af4a10d427c52a3851b3e0c7889853eb83a
Addressing issue brought up by dsymonds:
- When providing alternative spellings to a query, do not
  prefix it with a package qualifier as the suggestion may
  not have any results. Correctly filtering is quite a bit
  of work, and clicking the alternative spelling will always
  also show the qualified hits if they exist (but also others).
  Seems good enough for now.
- Give user feedback when the query syntax was wrong.
- Package names in search results are now links to the respective
  package documentation.
- Experimented with excluding main packages and test files
  from index with inconclusive results. Code is present and
  can be enabled by changing a flag in the source. This needs
  some more work.

R=rsc
CC=r, dsymonds
http://go/go-review/1026033
lib/godoc/search.html
src/cmd/godoc/godoc.go
src/cmd/godoc/index.go