0
0
bleve/search
Marty Schoch f8fdfebb6c refactor searchers
- TermSearcher has alternate constructor if term is []byte, this can avoid
  copying in some cases.  TermScorer updated to accept []byte term. Also
  removed a few struct fields which were not being used.

- New MultiTermSearcher searches for documents containing any of a list of
  terms.  Current implementation simply uses DisjunctionSearcher.

- Several other searcher constructors now simply build a list of terms and
  then delegate to the MultiTermSearcher
  - NewPrefixSearcher
  - NewRegexpSearcher
  - NewFuzzySearcher
  - NewNumericRangeSearcher

- NewGeoBoundingBoxSearcher and NewGeoPointDistanceSearcher make use of
  the MultiTermSearcher internally, and follow the pattern of returning
  an existing search.Searcher, as opposed to their own wrapping struct.

- Callback filter functions used in NewGeoBoundingBoxSearcher and
  NewGeoPointDistanceSearcher have been extracted into separate functions
  which makes the code much easier to read.
2017-03-31 17:21:46 -04:00
..
collector switch collector store impl from slice to heap 2017-03-24 09:38:06 -07:00
facet reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00
highlight remove use of float64 to represent int things 2017-02-09 20:15:59 -05:00
query geo review comments from sreekanth 2017-03-31 08:41:40 -04:00
scorer refactor searchers 2017-03-31 17:21:46 -04:00
searcher refactor searchers 2017-03-31 17:21:46 -04:00
collector.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
explanation.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
facets_builder_test.go numeric range facet merging compare range values not pointers 2016-11-03 15:48:46 -04:00
facets_builder.go reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00
levenshtein_test.go removed extra ptr indirection from LevenshteinDistance 2016-10-11 08:49:10 -07:00
levenshtein.go removed extra ptr indirection from LevenshteinDistance 2016-10-11 08:49:10 -07:00
pool_test.go fix misspellings 2016-10-02 12:11:15 -04:00
pool.go DocumentMatchPool hits allocator outside of loop 2017-02-06 14:26:59 -08:00
search.go reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00
sort.go update to geo query parsing and top-level bleve accessibility 2017-03-30 15:23:27 -04:00
util_test.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
util.go nicer formatting of license header 2016-10-02 10:13:14 -04:00