0
0
Commit Graph

7 Commits

Author SHA1 Message Date
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