iicn

command module
v0.0.0-...-4d2fecb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 16 Imported by: 0

README

iicn

基于mapreduce的中文倒排索引简单实现

使用前说明

我使用的Go版本是go1.13.5 我使用了go mod来管理依赖

使用说明

1.启动主服务,提供web搜索监听和索引写入监听 执行>go run server.go

2.做分词并生成倒排索引并写入db 执行>go run iich.go master sequential pg-ch01.txt pg-ch02.txt

更新历史

v1.1

将lvevldb换为boltdb

v1.0

iich.go 负责读取文章,分词,并利用mapreduce建立倒排索引。然后将索引存入leveldb httpserver.go 负责提供搜索服务,查询leveldb

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL