0
0
Commit Graph

364 Commits

Author SHA1 Message Date
Sacheendra Talluri
78c4c3435d adds examples for defining mappings 2015-01-07 18:43:09 +05:30
Steve Yen
ae3600aeea expose forestdb rollback methods 2015-01-06 18:59:02 -08:00
Steve Yen
5467e0a385 forestdb registered name fixed 2015-01-06 17:36:05 -08:00
Marty Schoch
1368d7b3b4 NewUsing persists the provided config to index meta
new method OpenUsing allows user to override values
in the persisted config
example would be opening the index, but using a different
buffer size for leveldb (not actually supported yet, but that
is the idea)
closes #138
2015-01-06 17:19:46 -05:00
Steve Yen
d442713de6 typo in storage type error message 2015-01-06 09:18:36 -08:00
Marty Schoch
ede3177c1e Merge pull request #137 from sacheendra/examples
adds examples for most query functions
2015-01-05 18:48:18 -05:00
Sacheendra Talluri
bf9b30840e adds error handling to examples 2015-01-05 13:07:13 +05:30
Sacheendra Talluri
e099d140e0 Merge branch 'master' into examples 2015-01-03 22:36:41 +05:30
Sacheendra Talluri
1653fdec22 adds examples for most query functions 2015-01-03 22:35:45 +05:30
Marty Schoch
4c269a9f44 when generating parser, run go fmt on the lexer
closes #136
2015-01-02 10:02:20 -08:00
Sacheendra Talluri
2de21cdf82 numeric range query problem 2015-01-02 18:39:29 +05:30
Marty Schoch
9fb6476a0f migrated from genparser.sh to go generate
closes #135
2015-01-01 19:29:16 -08:00
Marty Schoch
5a6a08e8de reverting to older nex, didn't realize it broke 2014-12-29 18:35:39 -08:00
Marty Schoch
b5609e47a1 after actually installing new nex 2014-12-29 17:41:15 -08:00
Marty Schoch
2f6901c8d4 updated nex 2014-12-29 17:39:54 -08:00
Marty Schoch
d1346e9461 trigger build of wiki indexer from bleve as well 2014-12-29 16:09:30 -08:00
Marty Schoch
6f62adf9d4 trigger rebuilding examples after building bleve 2014-12-29 14:58:42 -08:00
Marty Schoch
b407f1c146 changed build badge to travis 2014-12-29 10:44:51 -08:00
Marty Schoch
816929fae2 changed service name back 2014-12-29 10:26:59 -08:00
Marty Schoch
b4adf7e7d8 removing env from travis 2014-12-29 10:20:09 -08:00
Marty Schoch
b96cb389ee trying secure env a different way 2014-12-29 10:16:35 -08:00
Marty Schoch
ecbf7e482f install cover tool on travis 2014-12-29 09:55:45 -08:00
Marty Schoch
3e2642d437 try to run code coverage from travis 2014-12-29 09:53:18 -08:00
Marty Schoch
3f50a3dc81 updated lexer 2014-12-29 09:39:40 -08:00
Marty Schoch
02dd0a39c5 remove useless panic unreachables in nex lexer that bother go vet 2014-12-29 09:38:54 -08:00
Marty Schoch
b4add7fbf4 fix go vet issue 2014-12-29 09:28:24 -08:00
Marty Schoch
af13ad51be fix go get vet path 2014-12-29 09:25:36 -08:00
Marty Schoch
7575000070 switching back to travis? 2014-12-29 09:17:51 -08:00
Marty Schoch
435058a928 fix go vet issue 2014-12-28 19:44:03 -08:00
Marty Schoch
5978f50b8c added ability to log slow searches
closes #88
2014-12-28 19:34:16 -08:00
Marty Schoch
0ddfa774ec clean up logging to use package level *log.Logger
by default messages go to ioutil.Discard
2014-12-28 12:14:48 -08:00
Marty Schoch
a3a891fdb2 create new child requests in MultiSearch
This change avoides data race on the Size and From fields.
fixes #130
2014-12-28 09:23:47 -08:00
Marty Schoch
68712cd142 support for accessing the underlying index/store impls
now you can access the underlying index/store implementations
using the Advanced() method.  this is intedned for advanced
usage only, and can lead to problems if misused.

also, there is a new method NewUsing(...) which allows callers
of the top-level API to choose which underlying k/v store they
want to use.
2014-12-27 13:23:46 -08:00
Marty Schoch
38bdcbeb62 update to new forestdb iterator api 2014-12-27 13:15:14 -08:00
Marty Schoch
59b014d35b Merge pull request #133 from Shugyousha/typos
Fix typos in comments and strings
2014-12-18 13:06:43 -05:00
Silvan Jegen
ef18dfe4cd Fix typos in comments and strings 2014-12-18 18:43:12 +01:00
Marty Schoch
fc33752c80 moved levenshtein code outside of fuzzy searcher
should allow easier reuse
2014-12-12 13:23:06 -05:00
Marty Schoch
5bfbcda97d typo in comment 2014-12-12 13:23:06 -05:00
Marty Schoch
b97da21d5c Merge pull request #132 from avsej/master
Update "code.google.com" import paths
2014-12-09 17:39:04 -05:00
Sergey Avseyev
a8351be5a6
Update protobuf imports 2014-12-10 01:24:59 +03:00
Sergey Avseyev
570109a983
Update "code.google.com" import paths
https://github.com/couchbase/sync_gateway/issues/492
2014-12-10 01:17:49 +03:00
Marty Schoch
c641ea694a Merge branch 'Shugyousha-termfacetrefactor' 2014-12-01 13:00:30 -05: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
f845dfbeb7 fix missing close in index test 2014-12-01 12:51:01 -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
Silvan Jegen
412049d63c Remove unneeded import statements 2014-11-29 14:25:24 +01:00
Marty Schoch
860a6c3169 added tests for facet builds and constant scorer 2014-11-26 21:09:00 -05:00
Marty Schoch
f677e11c5d renamed misspelled filename 2014-11-26 21:08:14 -05:00