Jay Taylor's notes
back to listing indexblevesearch/bleve
[web search]
Original source (github.com)
Clipped on: 2018-08-10
A modern text indexing library for go
Go
Other
Latest commit
8b6b5a3
9 days ago
2 months ago
|
|||
2 months ago
|
|||
7 months ago
|
|||
2 years ago
|
|||
4 months ago
|
|||
13 days ago
|
|||
8 months ago
|
|||
11 days ago
|
|||
14 days ago
|
|||
2 months ago
|
|||
2 years ago
|
|||
11 days ago
|
|||
4 months ago
|
|||
11 days ago
|
|||
5 months ago
|
|||
2 years ago
|
|||
3 months ago
|
|||
2 years ago
|
|||
4 years ago
|
|||
7 months ago
|
|||
7 months ago
|
|||
2 years ago
|
|||
2 years ago
|
|||
2 years ago
|
|||
2 years ago
|
|||
2 years ago
|
|||
4 months ago
|
|||
2 years ago
|
|||
5 months ago
|
|||
2 months ago
|
|||
3 months ago
|
|||
3 months ago
|
|||
2 years ago
|
|||
2 years ago
|
|||
2 months ago
|
|||
a year ago
|
|||
9 months ago
|
|||
5 months ago
|
|||
a month ago
|
README.md
bleve
modern text indexing in go - blevesearch.com
Try out bleve live by searching the bleve website.
Features
- Index any go data structure (including JSON)
- Intelligent defaults backed up by powerful configuration
- Supported field types:
- Text, Numeric, Date
- Supported query types:
- Term, Phrase, Match, Match Phrase, Prefix
- Conjunction, Disjunction, Boolean
- Numeric Range, Date Range
- Simple query syntax for human entry
- tf-idf Scoring
- Search result match highlighting
- Supports Aggregating Facets:
- Terms Facet
- Numeric Range Facet
- Date Range Facet
Discussion
Discuss usage and development of bleve in the google group.
Indexing
message:=struct{IdstringFromstringBodystring}{Id:,"example"From:,"marty.schoch@gmail.com"Body:, }"bleve indexing is easy"mapping:=bleve.NewIndexMapping()index,err:=bleve.New(, mapping)"example.bleve"iferr !=nil{panic(err) } index.Index(message.Id, message)
Querying
index,_:=bleve.Open()"example.bleve"query:=bleve.NewQueryStringQuery()"bleve"searchRequest:=bleve.NewSearchRequest(query)searchResult,_:=index.Search(searchRequest)
License
Apache License Version 2.0
Press h to open a hovercard with more details.