Jan Steemann
b5d0457f3a
fixed some issues reported by cppcheck
2012-12-12 18:42:11 +01:00
Jan Steemann
fb4afd0353
fulltext index
2012-12-10 12:16:48 +01:00
Jan Steemann
7c5d36bf0f
adjusted default sizes
2012-12-07 18:04:29 +01:00
Jan Steemann
cbaa57a1bd
cleanup of fulltext indexes, resizing etc.
2012-12-07 18:00:01 +01:00
Jan Steemann
c49ce0a52f
fulltext resizing, still incomplete
2012-12-07 13:51:19 +01:00
Jan Steemann
63b4c94b0f
fulltext resizing, halfway
2012-12-07 13:50:29 +01:00
Jan Steemann
ec9f72f227
return appropriate error codes
2012-12-07 10:49:06 +01:00
Jan Steemann
f89475df47
some cleanup
2012-12-07 09:53:00 +01:00
Jan Steemann
54498bffee
added out of memory todo markers
2012-12-06 18:10:01 +01:00
Jan Steemann
3824dba521
added statistics about documents indexed
2012-12-06 17:42:58 +01:00
Jan Steemann
0b001b7a87
fixed memory leaks, added newest code by Richard
2012-12-06 16:43:33 +01:00
Jan Steemann
38809d4612
added callbacks for index cleanup
2012-12-06 15:46:11 +01:00
Jan Steemann
b8fc158e77
mini changes
2012-12-06 13:12:49 +01:00
Jan Steemann
4752225107
cleanup
2012-12-05 01:26:44 +01:00
Jan Steemann
50269e876e
cleanup
2012-12-05 01:10:17 +01:00
Jan Steemann
bfefad82f4
cleanup
2012-12-05 00:43:03 +01:00
Jan Steemann
1471c06a2c
cleanup
2012-12-04 22:55:53 +01:00
Jan Steemann
5b762abc7f
factored out a function
2012-12-04 22:19:37 +01:00
Jan Steemann
fe77e22e24
clean up
2012-12-04 22:07:49 +01:00
Jan Steemann
0b41690881
tests for substrings
2012-12-04 15:01:48 +01:00
Jan Steemann
b5c978feb6
applied bugfix from Richard, more test cases
2012-12-04 14:40:50 +01:00
Jan Steemann
46132c9f26
more tests for fulltext
2012-12-04 14:20:55 +01:00
Jan Steemann
3f7e0c6f20
fixed edge case of searching very long words
2012-12-04 10:59:06 +01:00
Jan Steemann
1e1f7da7f9
renamed files
2012-12-04 09:07:02 +01:00
Jan Steemann
1992597015
applied bug fix from Richard, activated 2 more tests
2012-12-04 09:00:48 +01:00
Jan Steemann
4a941bc845
some cleanup
2012-12-03 22:54:14 +01:00
Jan Steemann
86c3cf4cde
code formatting
2012-12-03 18:47:11 +01:00
Jan Steemann
260f28ac85
added bugfix from Richard
2012-12-03 18:11:11 +01:00
Jan Steemann
195cdb81a8
using TRI_Free
2012-12-03 18:05:53 +01:00
Jan Steemann
fcc880e021
use TRI_Allocate
2012-12-03 17:54:55 +01:00
Jan Steemann
1247315733
removed obsolete files
2012-12-03 16:26:32 +01:00
Jan Steemann
42ba0502f0
changed upgrade procedure
...
removed arango-upgrade script, replaced it with --upgrade server option
adjusted documentation & start scripts
2012-12-03 13:02:59 +01:00
Jan Steemann
9b44e4aa45
added very limited & alpha fulltext query capability
...
db.collection.FULLTEXT() allows to issue queries using a fulltext index.
Needs to be passed a comma-separated query string with the search words.
Search words can be prefixed with either:
* prefix: does a prefix search
* complete: does a complete-match search
* substring: does a substring search
This is still very very alpha. It crashes and produces wrong results in some cases.
2012-12-02 03:24:20 +01:00
Jan Steemann
d2aef2dcdc
add words to fulltext index
...
this parses the fulltext-indexed attributes of documents when there's a fulltext index, and adds the individual words to the index.
As the fulltext index is case-sensitive, all words are added to the index in lower case.
The text tokenisation implementation is still very naive and currently works properly only for character ranges [a-z] and [A-Z].
Unicode words are also supported, but they are not normalised nor lower-cased yet. Additionally, unicode punctuation characters are not excluded and will also be added to the index.
Updating documents that are fulltext-indexed currently does not work.
2012-12-02 00:55:59 +01:00
Jan Steemann
f517aa0059
ensureFulltextIndex
2012-11-30 17:53:02 +01:00
Jan Steemann
19fb9d0aea
added stub functions for fulltext indexes
2012-11-30 14:50:02 +01:00
Jan Steemann
749f99e4df
adjusted include file names, if'd debug code
2012-11-30 14:04:15 +01:00
Jan Steemann
7e690f0d80
added Richard's fix for counting documents
2012-11-30 13:21:34 +01:00
Jan Steemann
9cb0afb46c
fixed (irrelevant) warnings about potentially uninitialised variable
2012-11-30 13:03:44 +01:00
Jan Steemann
59d7ca4340
fixed malloc with too small size
2012-11-30 12:59:29 +01:00
Jan Steemann
1d6c323d76
fixed typo (semicolon after if statement)
2012-11-30 12:58:20 +01:00
Jan Steemann
cdfbb76c83
fulltext index, initial version by RP
2012-11-30 12:13:03 +01:00