An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# GoJieba Bleve support

[![License](https://img.shields.io/badge/license-MIT-yellow.svg?style=flat)](LICENSE)
[![GoDoc](https://godoc.org/github.com/ttys3/gojieba-bleve?status.svg)](https://godoc.org/github.com/ttys3/gojieba-bleve)
[![Go Report Card](https://goreportcard.com/badge/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)