1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-11 04:10:25 +08:00

added example_parallel_cut_test.go

This commit is contained in:
Wang Bin
2015-05-07 15:10:16 +08:00
parent 939e903f31
commit 1497472b82
2 changed files with 101 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ func ExampleBeleveSearch() {
indexMapping.DefaultAnalyzer = "jieba"
cacheDir := "jieba.beleve"
os.Remove(cacheDir)
os.RemoveAll(cacheDir)
index, err := bleve.New(cacheDir, indexMapping)
if err != nil {