0
0
Fork 0
Commit Graph

1887 Commits

Author SHA1 Message Date
Marty Schoch 37d3f0205d cleanup spacing between license and package 2014-08-29 14:18:36 -04:00
Steve Yen a60ff96457 mention of license in README
For the folks like me who are too lazy to make just
one more click on LICENSE.
2014-08-29 07:34:15 -07:00
Marty Schoch 35ed406a8f changed coveralls badge to blevesearch 2014-08-28 16:53:23 -04:00
Marty Schoch b56b26cb02 changed drone badge to point to new org 2014-08-28 15:58:37 -04:00
Marty Schoch 1161361bea rename imports from couchbaselabs to blevesearch 2014-08-28 15:38:57 -04:00
Marty Schoch e6ee7a11c4 fix broken tests 2014-08-28 14:57:27 -04:00
Marty Schoch 949accc3e4 change default fragment size to 200, also behavior if no matches
now if there are no matches, but you requested highlight for the
field we return a single fragment containing the first <fragsize>
bytes.  this works well for cases where you want to display a
field highlighted, but still show it even if there were no
matches in that same field
2014-08-28 14:46:30 -04:00
Marty Schoch c9423aa24b change default highlighter to return 1 fragment 2014-08-28 14:45:51 -04:00
Marty Schoch 6086f191f6 support range queries in syntax query
using syntax like:

+abv:>50 or +abv<=7

closes #52
2014-08-25 23:24:26 -04:00
Marty Schoch 08633379ae make same changes to disjunction, and make nil safe 2014-08-25 23:22:35 -04:00
Marty Schoch 367e4f53a7 made conjuction queries compatible with interface 2014-08-25 22:40:06 -04:00
Marty Schoch 0e26a6233e new test for numeric queries
first runs a query with both ends of a numeric range
then runs same query as 2 separate unbounded queries
joined together with an and
2014-08-25 22:38:43 -04:00
Marty Schoch 2898123ec1 fix bug advancing numeric searcher 2014-08-25 22:38:11 -04:00
Marty Schoch 680de03e65 query syntax now accepts floats for boost 2014-08-25 20:09:53 -04:00
Marty Schoch 78db88897c added control over inclusive/exclusive numeric/date ranges 2014-08-25 17:47:27 -04:00
Marty Schoch ef59abe4c9 added build tag 'leveldb' to enable this kv store
by default we now use the pure go boltdb kv store
it is less tested at this point but appears to work
test pass, and moves us closer to the goal of being
able to just "go get" bleve
2014-08-25 15:18:24 -04:00
Marty Schoch 45a7a6dd8e fix two missing Close calls holding iterators open 2014-08-25 15:13:15 -04:00
Marty Schoch 8bcf6adb60 changed close of read only tx to Rollback from Commit
i was seeing deadlocks before this change
using Rollback to close read only tx is what the
built-in View() impl does, so i think its safe
2014-08-25 15:11:21 -04:00
Marty Schoch d67ee483ba change default bucket name to bleve 2014-08-25 15:11:04 -04:00
Marty Schoch bea0a06827 easier to tweak mapping 2014-08-25 15:09:05 -04:00
Marty Schoch 1e04edf478 better error handling 2014-08-25 15:08:23 -04:00
Marty Schoch e7a8a1fbe6 fixing test 2014-08-25 12:34:16 -04:00
Marty Schoch fbf3636a34 Merge pull request #86 from deoxxa/boltdb-storage
add boltdb storage type
2014-08-25 12:27:26 -04:00
Marty Schoch e8959d03ae added build tag 'icu' to enable functionality dependent on it 2014-08-25 12:22:01 -04:00
Marty Schoch 21ef6e9878 added build tag for things depending on libstemmer 2014-08-25 12:06:10 -04:00
Marty Schoch 08db2eae42 added alternate build tag 'full' which will be an alias to enable all 2014-08-25 11:40:58 -04:00
Marty Schoch f37bb77794 added build tag to enable cld2 2014-08-25 11:24:20 -04:00
Marty Schoch 4d8fc94d0e Merge branch 'deoxxa-libcld2-static' 2014-08-25 10:54:59 -04:00
Marty Schoch 092e30a38e tried to word the instructions for static and dynamic linking 2014-08-25 10:54:15 -04:00
Marty Schoch e0bcf6fdb1 Merge branch 'libcld2-static' of github.com:deoxxa/bleve into deoxxa-libcld2-static 2014-08-25 10:48:20 -04:00
Marty Schoch e15cdf608f fix issues identified by go vet 2014-08-25 09:14:37 -04:00
Marty Schoch d164b017b2 added additional http handlers to cover most functionality 2014-08-25 09:08:27 -04:00
Marty Schoch 34afb0929e made it safe to use bleve.Index object from multiple threads
an RWMutext ensures that only one write op is done at a time, and
that all other ops have finished prior to closing
2014-08-25 09:06:53 -04:00
Marty Schoch 3309c698f8 fixed Document() behavior ot return nil when doc doesn't exist 2014-08-25 08:55:14 -04:00
deoxxa a993fa4f74 add boltdb storage type 2014-08-24 18:37:56 +10: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 a347b818d1 added link to website and google group to readme 2014-08-19 16:31:45 -04:00
Marty Schoch a5ee29cce4 update readme 2014-08-19 16:21:18 -04:00
Marty Schoch b48dc87afa added test case clarifying whitespace tokenizer on empty input 2014-08-19 10:43:52 -04:00
Marty Schoch a08a7f5b2a fix broken tests 2014-08-19 10:02:33 -04:00
Marty Schoch 41914181ae fix handling of indexing dates which we cannot represent
closes #72
2014-08-19 09:55:26 -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 ad3ba27cb8 improving test coverage 2014-08-15 16:50:34 -04:00
Marty Schoch b0153cecb4 added tests to top level 2014-08-15 15:49:35 -04:00
Marty Schoch c33f1668f7 refactor dump methods
improved test coverage
2014-08-15 13:12:55 -04:00
Marty Schoch 4d53db9fc8 fixed bug with internal get/set/delete, added tests 2014-08-15 09:39:41 -04:00
Marty Schoch 6b7c12b8bd added integration tests for the beer-search example 2014-08-14 18:39:50 -04:00
Marty Schoch 3efb0316d2 fix bug, used flag direclty instead of argument 2014-08-14 18:37:08 -04:00
Marty Schoch 5dcd39ade7 added turkish analyzer test 2014-08-14 16:42:41 -04:00