go.tools/cmd/godoc: set corpus.MaxResults in appinit.go
LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/101220045
This commit is contained in:
parent
f895b43688
commit
93b08999a7
|
|
@ -43,6 +43,7 @@ func init() {
|
||||||
|
|
||||||
corpus := godoc.NewCorpus(fs)
|
corpus := godoc.NewCorpus(fs)
|
||||||
corpus.Verbose = false
|
corpus.Verbose = false
|
||||||
|
corpus.MaxResults = 10000 // matches flag default in main.go
|
||||||
corpus.IndexEnabled = true
|
corpus.IndexEnabled = true
|
||||||
corpus.IndexFiles = indexFilenames
|
corpus.IndexFiles = indexFilenames
|
||||||
if err := corpus.Init(); err != nil {
|
if err := corpus.Init(); err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue