0
0
Commit Graph

14 Commits

Author SHA1 Message Date
slavikm
9a9b630a6d Make facets much faster 2016-07-17 15:31:35 -07:00
Marty Schoch
194ee82c80 gofmt simplifications 2016-04-02 21:54:33 -04:00
Marty Schoch
1817f28cfc rewrote to use same appraoch as numeric facets
see https://github.com/blevesearch/bleve/pull/134
2016-03-14 12:02:07 -04:00
Marty Schoch
eaccd74c93 Merge pull request #134 from Shugyousha/numfacet
Add a benchmark for the numeric facet builder and use sort.Sort in it (just like for the terms one)
2015-03-06 14:50:30 -05:00
Marty Schoch
e59ed148c9 avoid crash when requesting more facets then available 2015-01-22 09:56:00 -05:00
Silvan Jegen
bc1117e289 Use sort.Sort for the numeric facet builder 2014-12-23 15:05:10 +01:00
Silvan Jegen
222770b1cc Add a benchmark for the numeric facet builder 2014-12-23 15:05:10 +01:00
Marty Schoch
efebc07106 fix slice allocation to be size 0 cap len(fb.termsCount) 2014-12-01 12:59:30 -05:00
Marty Schoch
15fd80289e Merge branch 'termfacetrefactor' of github.com:Shugyousha/bleve into Shugyousha-termfacetrefactor 2014-12-01 12:58:05 -05:00
Marty Schoch
fdcb6fc13a added benchmark for term facet processing 2014-12-01 12:49:33 -05:00
Silvan Jegen
f7343462b8 Use a slice instead of a list
By replacing the container/list with a slice we can make use of
sort.Sort and subslicing to get our top-N termfacet results.
2014-11-29 16:13:10 +01:00
Marty Schoch
51a59cb05c initial impl of Index Aliases
an IndexAlias allows you easily work with one logical Index
while changing the actual Index its pointing to behind the scenes
Changing which actual Index is backing an IndexAlias can be done
atomically so that your application smoothly transitions from
one Index to another.
A separate use of IndexAlias is allowed when the IndexAlias is
defined to point to multiple Indexes.  In this case only the
Search() operation is supported, but the Search will be run
on each of the underlying indexes in parallel, and the results
will be merged.
2014-10-29 09:22:11 -04:00
Marty Schoch
7a7eb2e94c add newline between license and package
this avoids cluttering godocs with the license
2014-09-02 10:54:50 -04:00
Marty Schoch
2ee7289bc8 major refactor of search package
this started initially to relocate highlighting into
a self contained package, which would then also use
the registry
however, it turned into a much larger refactor in
order to avoid cyclic imports
now facets, searchers, scorers and collectors
are also broken out into subpackages of search
2014-09-01 11:15:38 -04:00