fulltext:Pure-Go全文索引器和搜索库

时间:2021-05-20 08:23:30
【文件属性】:
文件名称:fulltext:Pure-Go全文索引器和搜索库
文件大小:5.76MB
文件格式:ZIP
更新时间:2021-05-20 08:23:30
Go 概述 这是一个简单的纯Go全文索引和搜索库。 我将其用于中小型网站,尽管它的API或操作没有针对Web的特定内容。 Cdb( )用于执行索引和查找。 地位 这个项目或多或少是稳定的。 建筑注意事项 全文需要CDB: go get github.com/jbarham/go-cdb 用法 首先,您必须创建一个索引。 像这样: import "github.com/bradleypeabody/fulltext" // create new index with temp dir (usually "" is fine) idx, err := fulltext.NewIndexer(""); if err != nil { panic(err) } defer idx.Close() // provide stop words if desired idx.StopWordCh
【文件预览】:
fulltext-master
----testdata()
--------searchresults.html(594B)
--------shakespeare.mit.edu.zip(5.91MB)
--------searchform.html(188B)
----indexer_test.go(2KB)
----fulltext.go(172B)
----searcher.go(3KB)
----util.go(3KB)
----searcher_test.go(6KB)
----LICENSE(1KB)
----README.md(6KB)
----stopwords.go(4KB)
----indexer.go(5KB)
----.gitignore(252B)

网友评论