0
0
A modern text indexing library for go. (this is a mirror of the github repository) http://www.blevesearch.com/
Go to file
2014-08-25 23:22:35 -04:00
analysis added build tag 'icu' to enable functionality dependent on it 2014-08-25 12:22:01 -04:00
docs upaated README 2014-07-31 10:58:20 -04:00
document fix handling of indexing dates which we cannot represent 2014-08-19 09:55:26 -04:00
examples added control over inclusive/exclusive numeric/date ranges 2014-08-25 17:47:27 -04:00
http fix issues identified by go vet 2014-08-25 09:14:37 -04:00
index added build tag 'leveldb' to enable this kv store 2014-08-25 15:18:24 -04:00
numeric_util fix go vet 2014-08-02 19:17:53 -04:00
registry overhauled top-level New/Open API 2014-08-20 16:58:20 -04:00
samples/beer-sample added support for stored fields and highlighting results 2014-06-26 11:43:13 -04:00
search fix bug advancing numeric searcher 2014-08-25 22:38:11 -04:00
utils overhauled top-level New/Open API 2014-08-20 16:58:20 -04:00
.gitignore compile libcld2 statically 2014-08-24 03:44:57 +10:00
byte_array_converter.go further streamlined the API 2014-08-11 12:47:29 -04:00
config_cld2.go added alternate build tag 'full' which will be an alias to enable all 2014-08-25 11:40:58 -04:00
config_icu.go added build tag 'icu' to enable functionality dependent on it 2014-08-25 12:22:01 -04:00
config_leveldb.go added build tag 'leveldb' to enable this kv store 2014-08-25 15:18:24 -04:00
config_stemmer.go added build tag for things depending on libstemmer 2014-08-25 12:06:10 -04:00
config.go added build tag 'leveldb' to enable this kv store 2014-08-25 15:18:24 -04:00
error.go made it safe to use bleve.Index object from multiple threads 2014-08-25 09:06:53 -04:00
genparser.sh major refactor, apologies for the large commit 2014-07-30 12:30:38 -04:00
index_impl.go fix two missing Close calls holding iterators open 2014-08-25 15:13:15 -04:00
index_meta_test.go added build tag 'leveldb' to enable this kv store 2014-08-25 15:18:24 -04:00
index_meta.go overhauled top-level New/Open API 2014-08-20 16:58:20 -04:00
index_test.go new test for numeric queries 2014-08-25 22:38:43 -04:00
index.go made it safe to use bleve.Index object from multiple threads 2014-08-25 09:06:53 -04:00
LICENSE adding license file 2014-04-17 17:03:15 -04:00
mapping_document.go added additional http handlers to cover most functionality 2014-08-25 09:08:27 -04:00
mapping_field.go fix issues identified by go vet 2014-08-03 17:21:41 -04:00
mapping_index.go added additional http handlers to cover most functionality 2014-08-25 09:08:27 -04:00
mapping_test.go improving test coverage 2014-08-15 16:50:34 -04:00
query_boolean.go make same changes to disjunction, and make nil safe 2014-08-25 23:22:35 -04:00
query_conjunction.go made conjuction queries compatible with interface 2014-08-25 22:40:06 -04:00
query_date_range.go added control over inclusive/exclusive numeric/date ranges 2014-08-25 17:47:27 -04:00
query_disjunction.go make same changes to disjunction, and make nil safe 2014-08-25 23:22:35 -04:00
query_match_all.go major refactor, apologies for the large commit 2014-07-30 12:30:38 -04:00
query_match_none.go major refactor, apologies for the large commit 2014-07-30 12:30:38 -04:00
query_match_phrase.go major refactor of analysis files, now wired up to registry 2014-08-13 21:14:47 -04:00
query_match.go major refactor of analysis files, now wired up to registry 2014-08-13 21:14:47 -04:00
query_numeric_range.go added control over inclusive/exclusive numeric/date ranges 2014-08-25 17:47:27 -04:00
query_phrase.go made conjuction queries compatible with interface 2014-08-25 22:40:06 -04:00
query_prefix.go major refactor of analysis files, now wired up to registry 2014-08-13 21:14:47 -04:00
query_syntax_parser_test.go added support for boost with ^boostval in syntax query 2014-08-06 19:36:23 -04:00
query_syntax_parser.go added support for boost with ^boostval in syntax query 2014-08-06 19:36:23 -04:00
query_syntax.go added support for boost with ^boostval in syntax query 2014-08-06 19:36:23 -04:00
query_syntax.nex query syntax now accepts floats for boost 2014-08-25 20:09:53 -04:00
query_syntax.nn.go query syntax now accepts floats for boost 2014-08-25 20:09:53 -04:00
query_syntax.y query syntax now accepts floats for boost 2014-08-25 20:09:53 -04:00
query_term.go major refactor of analysis files, now wired up to registry 2014-08-13 21:14:47 -04:00
query_test.go added tests to top level 2014-08-15 15:49:35 -04:00
query.go added tests to top level 2014-08-15 15:49:35 -04:00
README.md overhauled top-level New/Open API 2014-08-20 16:58:20 -04:00
reflect.go major refactor, apologies for the large commit 2014-07-30 12:30:38 -04:00
search.go major refactor of analysis files, now wired up to registry 2014-08-13 21:14:47 -04:00
y.go query syntax now accepts floats for boost 2014-08-25 20:09:53 -04:00

bleve bleve

modern text indexing in go - blevesearch.com

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
    • Conjunction, Disjunction, Boolean
    • Numeric Range, Date Range
    • Simple query syntax for human entry
  • Search result match highlighting

Discussion

Discuss usage and development of bleve in the google group.

Indexing

	message := struct{
		From: "marty.schoch@gmail.com",
		Body: "bleve indexing is easy",
	}

	mapping := bleve.NewIndexMapping()
	index, _ := bleve.New("example.bleve", mapping)
	index.Index(message)

Querying

	index, _ := bleve.Open("example.bleve")
	query := bleve.NewSyntaxQuery("bleve")
	searchRequest := bleve.NewSearchRequest(query)
	searchResult, _ := index.Search(searchRequest)

Status

Build Status Coverage Status