Registry / database / blevesearch-bleve-v2

blevesearch-bleve-v2

JSON →
library2.6.0gogounverified

A full-text search and indexing library for Go.

go get github.com/blevesearch/bleve/v2
INSTALL
IMPORT
SIG · BLEVESEARCH-BLEVE-
B
blevesearch-bleve-v2
databasegov2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bleve
github.com/blevesearch/bleve/v2

Creates an in-memory index, indexes a document, and searches for it.

package main import ( "fmt" "github.com/blevesearch/bleve/v2" ) func main() { index, _ := bleve.NewMemOnly(bleve.NewIndexMapping()) data := struct{ Name string }{Name: "example"} index.Index("1", data) query := bleve.NewMatchQuery("example") search, _ := index.Search(bleve.NewSearchRequest(query)) fmt.Println(search.Hits.Len()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
blevesearch-bleve-v2 — go get blevesearch-bleve-v2 · libregistry