Marty Schoch
76660c0d13
removed a few more public methods
2014-08-30 00:13:46 -04:00
Marty Schoch
8c6427959c
made more of index mapping private
2014-08-30 00:06:16 -04:00
Marty Schoch
2ea1f526e7
made more mapping methods private
2014-08-29 23:50:47 -04:00
Marty Schoch
85b21f8864
change to make generated lexer private
2014-08-29 23:31:40 -04:00
Marty Schoch
5f4ea4d749
make date and numeric range stucts private
2014-08-29 23:30:44 -04:00
Marty Schoch
bc8e4a81b8
made parse query string private
2014-08-29 19:31:09 -04:00
Marty Schoch
7bfad18d40
moved byte array converts into the analysis package
2014-08-29 19:23:21 -04:00
Marty Schoch
9487a46188
fix broken test
2014-08-29 18:19:42 -04:00
Marty Schoch
f2c781fa21
refactor to make all the query classes private
2014-08-29 18:14:12 -04:00
Marty Schoch
607b038283
refactored boolean query to only depend on query
2014-08-29 16:27:32 -04:00
Marty Schoch
77c998a7a2
made config private and fixed broken test
2014-08-29 15:32:36 -04:00
Marty Schoch
7313e7247e
renamed SyntaxQuery QueryStringQuery
...
also made IndexMeta private
2014-08-29 15:19:02 -04:00
Marty Schoch
635ae2b401
made more constants private
2014-08-29 14:43:06 -04:00
Marty Schoch
5c4d5e230f
made parsing token constants private
2014-08-29 14:37:38 -04:00
Marty Schoch
d0f4146789
added package level godoc
2014-08-29 14:28:38 -04:00
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