1
0
Fork 0
Commit Graph

800 Commits

Author SHA1 Message Date
Jan Steemann 21fa3ed616 small stuff, oom handling etc. 2012-12-04 21:21:26 +01:00
Jan Steemann 4d04853597 fixed #311 2012-12-04 20:49:58 +01:00
Jan Steemann 1811ce9186 fixed some issues found by cppcheck 2012-12-04 18:21:29 +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 5742ab6fba fixed unicode lowercasing 2012-12-04 11:12:38 +01:00
Jan Steemann 3f7e0c6f20 fixed edge case of searching very long words 2012-12-04 10:59:06 +01:00
Jan Steemann 297e9bb4fd added documentation for --upgrade 2012-12-04 09:16:22 +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 efde7b5efa first test cases for fulltext index 2012-12-03 23:55:46 +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 d8506d7a13 implemented updating of documents 2012-12-03 17:32:04 +01:00
Jan Steemann 1130df4330 utf8 lower-casing and normalisation for fulltext strings 2012-12-03 17:14:54 +01:00
Jan Steemann 1247315733 removed obsolete files 2012-12-03 16:26:32 +01:00
Jan Steemann cdbb96788f issue #313 2012-12-03 15:30:01 +01:00
Jan Steemann a41357b9b3 removed unnecessary flag 2012-12-03 13:26:35 +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 59461d0c4b added functionality to add and remove users programatically
removed arango-password script
2012-12-03 11:42:30 +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 8c7ca55512 issue #300 2012-12-01 03:15:39 +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
Jan Steemann f634b1aff0 code unification 2012-11-29 22:34:49 +01:00
Jan Steemann d8a06fe136 removed unused flags from doc_operation_context 2012-11-29 13:44:36 +01:00
Jan Steemann 6e3211334f documentation fixes 2012-11-29 13:36:44 +01:00
Jan Steemann 42df64d7c0 added tests for key pattern 2012-11-29 12:37:30 +01:00
Jan Steemann 27883efbee updated documentation 2012-11-29 10:44:14 +01:00
Jan Steemann 77f3115ac7 updated documentation for document ids and keys 2012-11-29 10:20:10 +01:00
Jan Steemann 8d2db81042 document key handling 2012-11-29 09:49:11 +01:00
Jan Steemann 634768da20 do not return collection id in location 2012-11-28 17:29:44 +01:00
Jan Steemann 46640b376d removed meaningless comments 2012-11-28 17:28:13 +01:00
Jan Steemann 9481e588db fixed index access by id only 2012-11-28 13:37:33 +01:00
Jan Steemann 18cff2cfef Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-28 13:17:04 +01:00
Jan Steemann cbad6b526a make collections accesible via name instead of id.
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
a-brandt 5a9e155dd7 added documentation for --default-language 2012-11-28 11:20:11 +01:00
Jan Steemann 2466927764 force usage of collection names instead of collection ids 2012-11-27 17:19:17 +01:00
Jan Steemann fdc3e5705a fixed an error introduced with last commit 2012-11-27 15:24:39 +01:00