adding badger support to blevesearch
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Bleve Badger Backend

Blevesearch kvstore implementation based on Badger forked from with alot of improvements and fixes.


➜ go get .

package main

import (


func main() {
	// create/open bleveIndex
	index, err := bbadger.BleveIndex("/tmp/badger/indexName", bleve.NewIndexMapping())

    // index some data
    err = index.Index(identifier, your_data)

    // search for some text
    query := bleve.NewMatchQuery("text")
    search := bleve.NewSearchRequest(query)
    searchResults, err := index.Search(search)