A modern text/numeric/geo-spatial/vector indexing library for go
A modern text/numeric/geo-spatial/vector indexing library for go
A modern indexing + search library in GO
text, number, datetime, boolean, geopoint, geoshape, IP, vectorterm, phrase, match, match_phrase, prefix, regexp, wildcard, fuzzyconjuncts, disjuncts, boolean (must/should/must_not)message := struct {
Id string
From string
Body string
}{
Id: "example",
From: "[email protected]",
Body: "bleve indexing is easy",
}
mapping := bleve.NewIndexMapping()
index, err := bleve.New("example.bleve", mapping)
if err != nil {
panic(err)
}
index.Index(message.Id, message)index, _ := bleve.Open("example.bleve")
query := bleve.NewQueryStringQuery("bleve")
searchRequest := bleve.NewSearchRequest(query)
searchResult, _ := index.Search(searchRequest)To install the CLI for the latest release of bleve, run:
go install github.com/blevesearch/bleve/v2/cmd/bleve@latest…Bleve includes general-purpose analyzers (customizable) as well as pre-built text analyzers for the following languages:
Arabic (ar), Bulgarian (bg), Catalan (ca), Chinese-Japanese-Korean (cjk), Kurdish (ckb), Danish (da), German (de), Greek (el), English (en), Spanish - Castilian (es), Basque (eu), Persian (fa), Finnish (fi), French (fr), Gaelic (ga), Spanish - Galician (gl), Hindi (hi), Croatian (hr), Hungarian (hu), Armenian (hy), Indonesian (id, in), Italian (it), Dutch (nl), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Swedish (sv), Turkish (tr)
Discuss usage/development of bleve and/or report issues here:
Apache License Version 2.0
scorch: a failing merge is retried immediately and forever, so a corrupt segment becomes an endless write loop
Compilation error in `geo/geojson` package: does not implement index.GeoJSON (missing method BoundingBox)
Modernize codebase using go fix
`BooleanQuery.Filter`: filter searcher isn't closed, and its errors are swallowed
Bare "/" is treated as regex
Use custom strings ordering when sorting
Synonym search does not work with NewMemOnly
how fix it?
Proposal: Add Partial Update Feature to Bleve Index (Go)
Cos Tchad