1
0
Fork 0
Commit Graph

57 Commits

Author SHA1 Message Date
Jan Steemann 1e051dff07 use realloc 2013-03-26 17:57:54 +01:00
Jan Steemann fc35dffa92 potential improvement for #459 2013-03-25 16:56:10 +01:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
Jan Steemann bad2050738 fix compile warnings for CentOS 2013-02-05 17:48:42 +01:00
Jan Steemann acd9c5c214 cppcheck fixes 2013-01-21 12:05:25 +01:00
Jan Steemann bbade8c0b8 removed the non-working indexSubstrings property for fulltext indexing 2013-01-17 15:58:28 +01:00
Jan Steemann ed19fccc65 fixed clang compile warnings 2013-01-02 16:17:26 +01:00
Jan Steemann 6c0b840db0 clang fixes 2012-12-18 15:28:28 +01:00
Jan Steemann 0fbae5a266 fixed segfault when query results were empty 2012-12-18 15:14:05 +01:00
Jan Steemann 96637435ab fulltext: more query operators, more tests, more controlled memory usage and statistics 2012-12-18 14:56:06 +01:00
Jan Steemann 9e71afeeb5 fixed doxygen error 2012-12-17 14:06:49 +01:00
Jan Steemann 42ca184cff some minor adjustments 2012-12-17 10:11:18 +01:00
Jan Steemann 78f35d6027 fixed access to uninitialised data 2012-12-15 02:23:30 +01:00
Jan Steemann 0374ed417e fixed & reactivated compaction 2012-12-15 02:17:37 +01:00
Jan Steemann b8ca0b2d4d fulltext index massive rewrite 2012-12-15 01:01:25 +01:00
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