0
0
Fork 0
Commit Graph

21 Commits

Author SHA1 Message Date
Marty Schoch 9ec2ddd757 initial refactor of query into separate package 2016-09-29 14:54:16 -04:00
Marty Schoch 3cf7e00b50 remove binary accidentally committed to repo
update .gitignore to prevent this in the future
2016-09-27 13:05:50 -04:00
Marty Schoch 67755618e9 Merge branch 'sedtweak' of https://github.com/bcampbell/bleve into bcampbell-sedtweak 2016-09-01 13:55:15 -04:00
Marty Schoch 617fcf693e add initial manifest 2016-04-08 15:03:05 -04:00
Mark Mindenhall bae3db1c55 Fix masking of error when creating index 2016-02-17 10:31:27 -07:00
slavikm 680be52f87 Implemented boolean field support 2016-01-11 17:18:03 -08:00
Sergey Avseyev 8609e7af08 Simplify JSON API for phrase query
New API looks like this:

    {"query":{"terms":["watered","down"],"field":"desc"}}

instead of

    {"query":{"terms":[{"term":"watered","field":"desc"},{"term":"down","field":"desc"}]}}

So that it eliminats accidental errors by supplying terms with different
fields, or different type of query
2015-11-02 21:08:11 +03:00
Ben Campbell 0e9230178f tweak queryparser 'go generate' lines (portablity)
sed is used to massage the .go files output from nex and yacc.
However, the -i (in-place) option works slightly differently
between gnu (eg Linux) and bsd (eg OSX) sed.
This change should make it work on both flavours.
2015-10-19 11:41:17 +13: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 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 ac6176f14c removed old example from gitignore 2014-09-01 14:37:22 -04:00
deoxxa 22b7b3bc24 compile libcld2 statically 2014-08-24 03:44:57 +10: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 c8918fe41a adding beer-sample to examples 2014-07-31 11:51:27 -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 b629636424 new tokenizer which uses cld2 to guess the field's language 2014-07-21 17:21:31 -04:00
Marty Schoch 9bebbec267 added support for stored fields and highlighting results 2014-06-26 11:43:13 -04:00
Marty Schoch 3d842dfaf2 initial commit 2014-04-17 16:55:53 -04:00