https://github.com/ttys3/gojieba-bleve
GoJieba Bleve support
https://github.com/ttys3/gojieba-bleve
Last synced: 10 months ago
JSON representation
GoJieba Bleve support
- Host: GitHub
- URL: https://github.com/ttys3/gojieba-bleve
- Owner: ttys3
- License: mit
- Created: 2020-05-21T16:33:53.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-12-24T04:03:13.000Z (over 1 year ago)
- Last Synced: 2025-03-01T07:05:26.491Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 27
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoJieba Bleve support
[](LICENSE)
[](https://godoc.org/github.com/ttys3/gojieba-bleve)
[](https://goreportcard.com/report/ttys3/gojieba-bleve)
## Intro
GoJieba [bleve](https://github.com/blevesearch/bleve) support mod
this repo exists because [the original mod](https://github.com/yanyiwu/gojieba) has
[removed bleve support](https://github.com/yanyiwu/gojieba/commit/b714017c2e6807881e0ed64151c0accdd436bb59)
## Get the mod
```bash
go get github.com/ttys3/gojieba-bleve/v2
```
## Usage
import it like this to register the `gojieba` Tokenizer and Analyzer
```go
_ "github.com/ttys3/gojieba-bleve/v2"
```
please see [bleve_test.go](bleve_test.go)