1
0
Fork 0
Commit Graph

194 Commits

Author SHA1 Message Date
Jan Steemann d321f32523 moved some const value out of loop 2013-02-15 11:35:48 +01:00
Jan Steemann 0a00760907 performance patch, improving parallelity for concurrent document creation 2013-02-14 17:18:28 +01:00
Jan Steemann 5c922cca02 fixed compile warnings with conditional compilation 2013-02-13 18:00:35 +01:00
Jan Steemann f17629817a make getindexes and count nestable 2013-02-05 11:36:16 +01:00
Jan Steemann 0a2fe0e9a0 fix reload of duplicate key markers 2013-01-29 15:46:45 +01:00
Jan Steemann ba44906c24 fixed insertion into primary index when there were deleted documents 2013-01-21 12:05:03 +01:00
Jan Steemann 9a003247d0 removed the _bidirectional attribute for edges
This will be reimplemented later on collection, and not on individual edges level.
Lucas & the others were sure directed & undirected edges should not be mixed in the same collection
2013-01-18 17:02:30 +01:00
Jan Steemann 50a01424d6 fixed duplicate key insertion 2013-01-18 12:15:48 +01:00
Jan Steemann e509f92c5e added test cases for duplicate _key insertion 2013-01-18 11:11:22 +01:00
Jan Steemann bbade8c0b8 removed the non-working indexSubstrings property for fulltext indexing 2013-01-17 15:58:28 +01:00
Jan Steemann 945a437807 move creation of parameters file until after all datafiles have been created
this mitigates problems when datafile creation fails and there are dangling parameter.json files around
2013-01-16 16:40:10 +01:00
Jan Steemann 08a696a1a7 removed useless parameter 2013-01-12 01:26:52 +01:00
Jan Steemann 485d10ad51 added collection.revision() method 2013-01-10 02:02:32 +01:00
Jan Steemann b310b832fd comments 2013-01-07 13:01:26 +01:00
Jan Steemann 0471ee8a0d memory collections, intermediate commit 2013-01-04 15:50:29 +01:00
Jan Steemann 8128a6377d memory-collections, intermediate commit 2013-01-04 12:12:46 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +01:00
Oreste Panaia 83ded3fc1f windows fixes 2012-12-20 17:17:30 +08:00
Jan Steemann b8ca0b2d4d fulltext index massive rewrite 2012-12-15 01:01:25 +01:00
Jan Steemann 459b1ba886 fixed wrong return value in index creation functions 2012-12-11 18:58:05 +01:00
Jan Steemann cbaa57a1bd cleanup of fulltext indexes, resizing etc. 2012-12-07 18:00:01 +01:00
Jan Steemann 38809d4612 added callbacks for index cleanup 2012-12-06 15:46:11 +01:00
Oreste Panaia 857b66c490 windows version 2012-12-06 20:44:01 +08:00
Jan Steemann 1811ce9186 fixed some issues found by cppcheck 2012-12-04 18:21:29 +01:00
Jan Steemann 1130df4330 utf8 lower-casing and normalisation for fulltext strings 2012-12-03 17:14:54 +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 d8a06fe136 removed unused flags from doc_operation_context 2012-11-29 13:44:36 +01:00
Jan Steemann 42df64d7c0 added tests for key pattern 2012-11-29 12:37:30 +01:00
Jan Steemann eac11fb793 issue #293 2012-11-24 03:16:23 +01:00
Jan Steemann 8ac81dbc85 shut up the compiler 2012-11-23 20:37:03 +01:00
Jan Steemann f812408a7e documentation for collection names / keys 2012-11-23 19:41:14 +01:00
Jan Steemann aaf34f44f4 fixed lots of compile warnings 2012-11-22 21:20:22 +01:00
a-brandt 407ac48821 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-15 11:25:22 +01:00
a-brandt 71d3d54de1 collection info struct changed 2012-11-15 11:24:35 +01:00
Jan Steemann 9e40045025 changed document CRUD API signatures 2012-11-14 17:11:16 +01:00
Jan Steemann 30ba8771a7 pluggable key generators 2012-11-14 12:44:56 +01:00
Jan Steemann 419456c1a8 some refactoring 2012-11-09 15:06:28 +01:00
Jan Steemann b9019329c8 fail gracefully on invalid marker types 2012-11-09 11:05:06 +01:00
Jan Steemann 65db6eee8b some simplification 2012-11-09 11:03:42 +01:00
Jan Steemann 7dfab2d6dc introduced validFrom, still does nothing 2012-11-09 10:42:06 +01:00
Jan Steemann 149c6c1fc1 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-08 17:47:53 +01:00
Jan Steemann 64c6bc5cb0 renamed marker member _deletion to _validTo, some cleanup 2012-11-08 17:47:18 +01:00
Jan Steemann 5b4f8431b4 removed unused _eid from master pointer 2012-11-08 16:36:08 +01:00
a-brandt 8532aecd73 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-08 16:24:43 +01:00
a-brandt cc919edc69 bug fix negative _key 2012-11-08 16:23:09 +01:00
Jan Steemann 30e29ee0b1 removed unnecessary function parameters 2012-11-08 16:14:34 +01:00
Jan Steemann 4276215251 some cleanup 2012-10-31 18:20:22 +01:00
Jan Steemann d9f34fd88e refactored and simplified document CRUD methods 2012-10-31 18:04:12 +01:00
Jan Steemann 6e22aef697 parameter reduction 2012-10-31 15:06:58 +01:00
Jan Steemann d1bc1513aa moved creation of primary index into index.c 2012-10-31 13:55:57 +01:00
Jan Steemann 42206c990c moved functions from primary to document collection 2012-10-31 13:29:07 +01:00
a-brandt 759f00e3d7 Bugfix wrong key length check 2012-10-30 14:44:52 +01:00
a-brandt 5b77d5c3ad added key length check 2012-10-30 12:31:27 +01:00
a-brandt 58926a145a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-26 12:28:42 +02:00
a-brandt aa265caee2 update 2012-10-26 12:28:22 +02:00
Jan Steemann cb6c8c8e7e added bidirectional edges, fixup edges index 2012-10-25 17:18:54 +02:00
a-brandt e66daf3f43 bugfix unit tests 2012-10-24 12:36:11 +02:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
a-brandt 9a599e468a added "_key" attribute 2012-10-23 15:58:09 +02:00
Oreste Panaia 4d8d78e880 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	VisualStudio/Arango Front End Library/Arango Front End Library.vcxproj
	arangod/Actions/RestActionHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	lib/ApplicationServer/ApplicationServer.cpp
2012-10-22 21:04:12 +08:00
Oreste Panaia aad73db128 various changes for windows 2012-10-22 20:51:31 +08:00
Frank Celler 3aebed3020 Merge branch '1.1' of github.com:triAGENS/ArangoDB into 1.1
Conflicts:
	Documentation/Makefile.files
2012-10-17 18:03:46 +02:00
Frank Celler 1efad1d9c7 fixed file permissions 2012-10-17 18:01:57 +02:00
Jan Steemann d58c48bdd8 fix rollback of edge update
The rollback of edge marker modification used a wrong marker size and thus uninitialised memory.
Achim found this
2012-10-17 17:25:12 +02:00
Jan Steemann c5996869b6 hash index fixes 2012-10-16 17:43:22 +02:00
Jan Steemann 8cad4ff0a8 suppress excessive log spam 2012-10-16 10:27:59 +02:00
Jan Steemann 95006138ed put parameters on individual lines 2012-10-15 11:31:00 +02:00
Jan Steemann eba0456c05 added some memory checks 2012-10-11 15:49:20 +02:00
Jan Steemann de853fda66 fixed error message 2012-10-11 14:56:34 +02:00
Jan Steemann a4b979222f fixed memory zone issues, memleaks 2012-10-10 19:05:16 +02:00
Jan Steemann 22c1252a4f moved some edge collection stuff to edge-collection.* 2012-10-10 14:05:06 +02:00
Jan Steemann dca19fcd32 move edge-related functionality to file of its own 2012-10-10 11:42:52 +02:00
Jan Steemann 6847caac80 changed misleading member name (secondaryIndexes => allIndexes) 2012-10-10 11:24:36 +02:00
Jan Steemann 29b1877abd removed createHeader and updateHeader dynamic functions
Those are only necessary in the document collection and the document collection can safely call its own static functions. no need for function pointers
2012-10-09 16:59:02 +02:00
Jan Steemann e51656767e possible implementation for issue #213 2012-10-04 15:04:20 +02:00
Jan Steemann 017965365a put arguments onto individual lines 2012-10-04 13:17:58 +02:00
Jan Steemann 134449d872 make the compiler happy when compiling with --disable-logger 2012-09-28 15:10:59 +02:00
Oreste Panaia 43ee2e1a58 unittests 2012-09-19 15:19:39 +08:00
Oreste Panaia f5316acb9d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.c
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
2012-09-17 22:40:12 +08:00
Jan Steemann b8cc79296b some simplification 2012-09-17 12:15:01 +02:00
Jan Steemann 3d6dfb6042 indentation 2012-09-17 11:54:52 +02:00
Jan Steemann 76674bad52 moved primaryIndex and lock from document-collection to primary-collection 2012-09-17 11:43:48 +02:00
Jan Steemann 1ef037ce8c renamed indexes to secondaryIndexes 2012-09-17 09:54:12 +02:00
Jan Steemann 7c4b13f19d slightly simplified locking 2012-09-17 09:05:13 +02:00
Jan Steemann 07ccc2083b further renamings 2012-09-14 14:57:26 +02:00
Jan Steemann 1b1d7ba877 renamed simple_collection to document_collection 2012-09-14 14:46:37 +02:00
Jan Steemann 9bc99b7c9d renamed document collection to primary collection 2012-09-14 10:19:41 +02:00
Jan Steemann febd5bfa8e removed member TRI_doc_mptr_t->_document 2012-09-04 13:20:01 +02:00
Jan Steemann ed395ab8ce issue #153 2012-08-28 13:06:04 +02:00
Jan Steemann 291d3fbc64 issue #108: speed up truncate operation 2012-08-20 11:13:01 +02:00
Jan Steemann fe1ac7aebb issue #121: added more output to the figures() API call 2012-07-04 12:15:16 +02:00
Jan Steemann 5a74e95f35 allow reusing ids and revision when creating collections and documents 2012-06-19 15:50:52 +02:00
Frank Celler d2c758d663 the great rename 2012-06-08 15:01:25 +02:00