6
GoFound GoLang Full text search go语言全文检索引擎 基于平衡二叉树+正排索引、倒...
source link: https://gitee.com/tompeppa/gofound
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
GoFound
GoFound
一个golang实现的全文检索引擎,支持持久化和单机亿级数据毫秒级查找。
接口可以通过http调用。详见 API文档
Simple社区使用的GoFound,可以直接模糊搜索相关帖子
QQ交流群
- 平衡二叉查找树
- 二分法查找
- 快速排序法
- golang-jieba分词
- leveldb
为何要用golang实现一个全文检索引擎?
-
正如其名,
GoFound
去探索全文检索的世界,一个小巧精悍的全文检索引擎,支持持久化和单机亿级数据毫秒级查找。 -
传统的项目大多数会采用
ElasticSearch
来做全文检索,因为ElasticSearch
够成熟,社区活跃、资料完善。缺点就是配置繁琐、基于JVM对内存消耗比较大。 -
所以我们需要一个更高效的搜索引擎,而又不会消耗太多的内存。 以最低的内存达到全文检索的目的,相比
ElasticSearch
,gofound
是原生编译,会减少系统资源的消耗。而且对外无任何依赖。
安装和启动
下载好源码之后,进入到源码目录,执行下列两个命令
go get && go build
./gofound --addr=:8080 --path=./data
- 其他命令 参考 配置文档
使用GoFound的用户
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK