0
0
Commit Graph

31 Commits

Author SHA1 Message Date
Marty Schoch
9528e09b1c rearrange code to avoid global variable rv
also check possible error returned by filepath.Walk
2015-10-16 13:10:43 -04:00
Marty Schoch
5c26f96606 Merge branch 'simplebleveindex' of https://github.com/Shugyousha/bleve into Shugyousha-simplebleveindex 2015-10-16 13:09:05 -04:00
Marty Schoch
52f0112b0f allow bleve_dump to proces files wrapped in metrics kv store 2015-10-14 12:46:55 -07:00
Silvan Jegen
0ef988a318 Use filepath.Walk instead of rolling our own func 2015-10-14 16:44:00 +02:00
Marty Schoch
5897997906 update utils for new bleve config 2015-09-16 17:18:46 -04:00
Marty Schoch
dbb93b75a4 refactoring to allow pluggable index encodings
this lays the foundation for supporting the new firestorm
indexing scheme.  i'm merging these changes ahead of
the rest of the firestorm branch so i can continue
to make changes to the analysis pipeline in parallel
2015-09-02 13:12:08 -04:00
Marty Schoch
ad0d580587 add option to bleve_create to select storage 2015-07-13 15:19:56 -04:00
Marty Schoch
24729541b5 fix issues identified by errcheck
also add bulkindex utility to gitignore
part of #169
2015-04-07 11:42:46 -04:00
Marty Schoch
35a4333bce fix issues identified by errcheck
part of #169
2015-04-07 11:39:01 -04:00
Marty Schoch
18dabdb946 fix compilation of bulk index utility 2015-03-09 08:20:40 -04:00
Marty Schoch
300ec79c96 first pass at checking errors that were ignored
part of #169
2015-03-06 14:46:29 -05:00
Marty Schoch
ee1210bc82 updated bleve_query to allow benchmarking single queries 2015-03-06 13:00:11 -05:00
Silvan Jegen
ef18dfe4cd Fix typos in comments and strings 2014-12-18 18:43:12 +01:00
Martin Czygan
95ae51f59d adding bleve_bulkindex utility
Usage:

    bleve_bulkindex -index path file.ldj [file2.ldj, ...]

where file.ldj is a line-delimited JSON,
each representing a document. docIDs are autogenerated.
2014-11-19 19:46:24 +01:00
Marty Schoch
22911888c4 refactor registry package and bleve_registry utility 2014-09-07 14:07:42 -04:00
Marty Schoch
8b9255f52f even more golint cleanups 2014-09-03 19:32:27 -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
a1f0c02cab remove flag that is no longer used 2014-09-02 10:27:38 -04:00
Marty Schoch
3bc165d77b renamed/moved examples/bleve_index_json to utils/bleve_index 2014-09-01 16:14:29 -04:00
Marty Schoch
7c0ea53ea2 added utility bleve_create 2014-09-01 14:54:47 -04:00
Marty Schoch
5d435bd022 moved bleve_query from examples to utils 2014-09-01 14:45:02 -04:00
Marty Schoch
831b82832e added ability to pring mapping 2014-09-01 14:17:05 -04:00
Marty Schoch
1161361bea rename imports from couchbaselabs to blevesearch 2014-08-28 15:38:57 -04:00
Marty Schoch
27f001bc14 overhauled top-level New/Open API
New is now used to create new indexes
Open is used to open existing indexes
calls to Open no longer specify a mapping because the mapping
is serialized and stored along with the index
2014-08-20 16:58:20 -04:00
Marty Schoch
082a5b0b03 major change to fields
now can track array positions for field values
stored fields now include this in the key
and the back index now uses protobufs to simplify serialization
closes #73
2014-08-19 08:58:26 -04:00
Marty Schoch
c33f1668f7 refactor dump methods
improved test coverage
2014-08-15 13:12:55 -04:00
Marty Schoch
c526a38369 major refactor of analysis files, now wired up to registry
ultimately this is make it more convenient for us to wire up
different elements of the analysis pipeline, without having to
preload everything into memory before we need it

separately the index layer now has a mechanism for storing
internal key/value pairs.  this is expected to be used to
store the mapping, and possibly other pieces of data by the
top layer, but not exposed to the user at the top.
2014-08-13 21:14:47 -04:00
Marty Schoch
216767953c introduced a config option to disable creating indexes if they don't already exist
closes #23 and closes #24
2014-07-30 14:29:26 -04:00
Marty Schoch
2968d3538a major refactor, apologies for the large commit
removed analyzers (these are now built as needed through config)
removed html chacter filter (now built as needed through config)
added missing license header
changed constructor signature of filters that cannot return errors
filter constructors that can have errors, now have Must variant which panics
change cdl2 tokenizer into filter (should only see lower-case input)
new top level index api, closes #5
refactored index tests to not rely directly on analyzers
moved query objects to top-level
new top level search api, closes #12
top score collector allows skipping results
index mapping supports _all by default, closes #3 and closes #6
index mapping supports disabled sections, closes #7
new http sub package with reusable http.Handler's, closes #22
2014-07-30 12:30:38 -04:00
Marty Schoch
d48eee948e refactored index to separate out kv storage
now how pluggable options for
leveldb
gouchstore
in memory only
2014-05-09 16:37:04 -04:00
Marty Schoch
3d842dfaf2 initial commit 2014-04-17 16:55:53 -04:00