github.com/busyfree/gojieba-bleve@v1.0.3/README.md (about)

     1  # GoJieba Bleve support
     2  
     3  [![License](https://img.shields.io/badge/license-MIT-yellow.svg?style=flat)](LICENSE)
     4  [![GoDoc](https://godoc.org/github.com/ttys3/gojieba-bleve?status.svg)](https://godoc.org/github.com/ttys3/gojieba-bleve)
     5  [![Go Report Card](https://goreportcard.com/badge/ttys3/gojieba-bleve)](https://goreportcard.com/report/ttys3/gojieba-bleve)
     6  
     7  ## Intro
     8  
     9  GoJieba [bleve](https://github.com/blevesearch/bleve) support mod
    10  
    11  this repo exists because [the original mod](https://github.com/yanyiwu/gojieba) has  
    12  [removed bleve support](https://github.com/yanyiwu/gojieba/commit/b714017c2e6807881e0ed64151c0accdd436bb59)
    13  
    14  ## Get the mod
    15  
    16  ```bash
    17  go get github.com/ttys3/gojieba-bleve
    18  ```
    19  
    20  ## Usage
    21  
    22  import it like this to register the `gojieba` Tokenizer and Analyzer
    23  
    24  ```go
    25  _ "github.com/ttys3/gojieba-bleve"
    26  ```
    27  
    28  please see [bleve_test.go](bleve_test.go)