Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blevesearch/bleve
A modern text/numeric/geo-spatial/vector indexing library for go
https://github.com/blevesearch/bleve
Last synced: about 1 month ago
JSON representation
A modern text/numeric/geo-spatial/vector indexing library for go
- Host: GitHub
- URL: https://github.com/blevesearch/bleve
- Owner: blevesearch
- License: apache-2.0
- Created: 2014-04-17T21:02:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T17:14:23.000Z (about 2 months ago)
- Last Synced: 2024-04-14T05:11:44.217Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 15.5 MB
- Stars: 9,643
- Watchers: 241
- Forks: 666
- Open Issues: 305
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Lists
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-list - bleve
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-go-cn - bleve
- awesome-go-extra - bleve - 04-17T21:02:18Z|2022-08-24T06:33:40Z| (Generators / Text Analysis)
- awesome-stars - blevesearch/bleve
- awesome-stars - bleve - A modern text indexing library for go (Go)
- awesome-go-storage - bleve - A modern text indexing library for go. (Database Drivers)
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-stars - bleve
- awesome-go - bleve - Modern text indexing library for go. Stars:`9.7K`. (Data Structures and Algorithms / Text Analysis)
- go-awesome - bleve - modern text indexing (开源类库 / 文本处理)
- awesome - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-github-repos - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - bleve - spatial/vector indexing library for go | blevesearch | 9728 | (Go)
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- fucking-awesome-go - :octocat: bleve - A modern text indexing library for go. :star: 2530 :fork_and_knife: 216 (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go-projects - bleve - Modern text indexing library for go. (Database Drivers / Standard CLI)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - | - | - | (Database Drivers / Advanced Console UIs)
- awesome-projects - bleve - A modern text indexing library for go (Go)
- awesome-go - bleve - A modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go-with-framework - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go-cn - bleve
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-go-zh - bleve
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - bleve - spatial/vector indexing library for go | blevesearch | 9726 | (Go)
- awesome-go - bleve - A modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - blevesearch/bleve - A modern text indexing library for go (Go)
- awesome-go - bleve - GO语言的现代文本索引库 (<span id="数据库驱动-database-drivers">数据库驱动 Database Drivers</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- awesome-go. - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-starts - blevesearch/bleve - A modern text indexing library for go (Go)
- awesome-go-cn - bleve - 现代文本索引库 (数据库驱动 / 高级控制台界面)
- awesome-go-with-stars - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-projects - bleve - A modern text indexing library for go (Go)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- repo-1316-awesome-go-cn - bleve
- repo-1211-awesome-go-cn - bleve
- awesome-Char - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-reader - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- my-awesomes-stars - bleve - A modern text indexing library for go (Go)
- awesome-go - bleve - 現代文本索引庫 (數據庫驅動 / 高級控制台界面)
- awesome-go-storage - bleve - A modern text indexing library for go. (Database Drivers)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - A modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- Go-awesome - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- go-awesome-cn-star - bleve
- awesome-stars - bleve
- awesome-stars - bleve - A modern text indexing library for go (Go)
- awesome-go-cn - bleve
- awesome-stars - bleve - A modern text indexing library for go (Go)
- awesome-go-handwritten - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-stars - bleve - A modern text indexing library for go (Go)
- awesome - bleve - A modern text indexing library for go (Go)
- my-awesome - blevesearch/bleve - 05 star:9.7k fork:0.7k A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-starred - blevesearch/bleve - A modern text indexing library for go (others)
- my-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- my-awesome-list - bleve - A modern text indexing library for go (Programming Languages / Go)
- awesome-go - bleve - A modern text indexing library for go - ★ 4721 (Database Drivers)
- go-awesome - bleve - modern text indexing (Open source library / Word Processing)
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-go2 - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - A modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - Modern text indexing library for go. - :arrow_down:646 - :star:2796 (Database Drivers / Advanced Console UIs)
- awesome-go - bleve - Modern text indexing library for go. (Database Drivers / Advanced Console UIs)
- awesome-stars - bleve - A modern text indexing library for go (Go)
- awesome-stars - blevesearch/bleve - `★9729` A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- my-awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
- awesome-go-cn - bleve
- awesome-go-stars - bleve(stars: 9636) - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- go-awesome - bleve - modern text indexing (开源类库 / 文本处理)
- awesome-search-tools - Bleve - style full-text search and indexing. This style of search and indexing helps overcome limitations of the default database search such as challenges with characters and advanced search capabilities. (Libraries)
- awesome-go-cn - bleve
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-go - bleve - Modern text indexing library for go. (Data Structures and Algorithms / Text Analysis)
- awesome-stars - blevesearch/bleve - A modern text/numeric/geo-spatial/vector indexing library for go (Go)
README
# ![bleve](docs/bleve.png) bleve
[![Tests](https://github.com/blevesearch/bleve/workflows/Tests/badge.svg?branch=master&event=push)](https://github.com/blevesearch/bleve/actions?query=workflow%3ATests+event%3Apush+branch%3Amaster)
[![Coverage Status](https://coveralls.io/repos/github/blevesearch/bleve/badge.svg?branch=master)](https://coveralls.io/github/blevesearch/bleve?branch=master)
[![GoDoc](https://godoc.org/github.com/blevesearch/bleve?status.svg)](https://godoc.org/github.com/blevesearch/bleve)
[![Join the chat at https://gitter.im/blevesearch/bleve](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/blevesearch/bleve?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![codebeat](https://codebeat.co/badges/38a7cbc9-9cf5-41c0-a315-0746178230f4)](https://codebeat.co/projects/github-com-blevesearch-bleve)
[![Go Report Card](https://goreportcard.com/badge/blevesearch/bleve)](https://goreportcard.com/report/blevesearch/bleve)
[![Sourcegraph](https://sourcegraph.com/github.com/blevesearch/bleve/-/badge.svg)](https://sourcegraph.com/github.com/blevesearch/bleve?badge)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)A modern text indexing library in go
## Features
* Index any go data structure (including JSON)
* Intelligent defaults backed up by powerful configuration
* Supported field types:
* Text, Numeric, Datetime, Boolean
* Supported query types:
* Term, Phrase, Match, Match Phrase, Prefix, Fuzzy
* Conjunction, Disjunction, Boolean (must/should/must_not)
* Term Range, Numeric Range, Date Range
* [Geo Spatial](https://github.com/blevesearch/bleve/blob/master/geo/README.md)
* Simple [query string syntax](http://www.blevesearch.com/docs/Query-String-Query/) for human entry
* [tf-idf](https://en.wikipedia.org/wiki/Tf-idf) Scoring
* Query time boosting
* Search result match highlighting with document fragments
* Aggregations/faceting support:
* Terms Facet
* Numeric Range Facet
* Date Range Facet## Indexing
```go
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)
```## Querying
```go
index, _ := bleve.Open("example.bleve")
query := bleve.NewQueryStringQuery("bleve")
searchRequest := bleve.NewSearchRequest(query)
searchResult, _ := index.Search(searchRequest)
```## Command Line Interface
To install the CLI for the latest release of bleve, run:
```bash
$ go install github.com/blevesearch/bleve/v2/cmd/bleve@latest
``````
$ bleve --help
Bleve is a command-line tool to interact with a bleve index.Usage:
bleve [command]Available Commands:
bulk bulk loads from newline delimited JSON files
check checks the contents of the index
count counts the number documents in the index
create creates a new index
dictionary prints the term dictionary for the specified field in the index
dump dumps the contents of the index
fields lists the fields in this index
help Help about any command
index adds the files to the index
mapping prints the mapping used for this index
query queries the index
registry registry lists the bleve components compiled into this executable
scorch command-line tool to interact with a scorch indexFlags:
-h, --help help for bleveUse "bleve [command] --help" for more information about a command.
```## Text Analysis
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)
## Text Analysis Wizard
[bleveanalysis.couchbase.com](https://bleveanalysis.couchbase.com)
## Discussion/Issues
Discuss usage/development of bleve and/or report issues here:
* [Github issues](https://github.com/blevesearch/bleve/issues)
* [Google group](https://groups.google.com/forum/#!forum/bleve)## License
Apache License Version 2.0