1
0
Fork 0
Commit Graph

116 Commits

Author SHA1 Message Date
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