From 85a02cd6d73bd3c91ab010250bbda9b1d152599d Mon Sep 17 00:00:00 2001 From: PapacyDai Date: Mon, 16 Jan 2017 21:30:14 +0800 Subject: [PATCH] fix bug not enough arguments in call to searcher.IndexDocument --- examples/codelab/search_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/codelab/search_server.go b/examples/codelab/search_server.go index adfcc4c..fdc5bff 100644 --- a/examples/codelab/search_server.go +++ b/examples/codelab/search_server.go @@ -73,7 +73,7 @@ func indexWeibo() { Timestamp: weibo.Timestamp, RepostsCount: weibo.RepostsCount, }, - }) + },false) } searcher.FlushIndex()