Registry / utility / blugelabs-bluge

blugelabs-bluge

JSON →
library0.2.2gogounverified

A library for indexing and searching text.

go get github.com/blugelabs/bluge
INSTALL
IMPORT
SIG · BLUGELABS-BLUGE
B
blugelabs-bluge
utilitygov0.2.2
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.

bluge
github.com/blugelabs/bluge

Create an index and add a document

package main import ( "fmt" "github.com/blugelabs/bluge" ) func main() { config := bluge.DefaultConfig("index") writer, err := bluge.OpenWriter(config) if err != nil { panic(err) } defer writer.Close() doc := bluge.NewDocument("1") doc.AddField(bluge.NewTextField("title", "Hello World")) writer.Update(doc.ID(), doc) fmt.Println("Indexed document") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
Amazon
1
Resources
blugelabs-bluge — go get blugelabs-bluge · libregistry