[release-branch.go1.3] go.tools/cmd/godoc: set corpus.MaxResults in appinit.go

««« CL 101220045 / b1ce6f5e6073
go.tools/cmd/godoc: set corpus.MaxResults in appinit.go

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/101220045
»»»

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/105190044
This commit is contained in:
Andrew Gerrand 2014-06-13 16:56:00 +10:00
parent 5b307dbe98
commit 636df8305a
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ func init() {
corpus := godoc.NewCorpus(fs)
corpus.Verbose = false
corpus.MaxResults = 10000 // matches flag default in main.go
corpus.IndexEnabled = true
corpus.IndexFiles = indexFilenames
if err := corpus.Init(); err != nil {