Jan Steemann
99630450c2
removed checks for TRI_HAVE_ICU because ICU is a prerequisite for using ArangoDB
2013-03-08 16:03:54 +01:00
Jan Steemann
0a883f4076
merged some changes from trx branch into devel
2013-03-08 14:22:25 +01:00
Jan Steemann
5631314bc7
issue #212 : added auto-increment support for collections
...
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:
db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });
The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.
The default values currently are:
- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`
The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).
Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann
a6dde1423d
disallow defined, but non-string keys
2013-03-07 18:12:07 +01:00
Jan Steemann
4f59917201
added lost docs for collection.save()
2013-03-07 13:19:53 +01:00
Jan Steemann
424ab3e759
removed redundant function
2013-03-07 01:30:34 +01:00
Jan Steemann
0fb397eabd
adjusted startup output to be more compact, less verbose
2013-03-06 19:05:17 +01:00
Jan Steemann
2a6180b5fe
fixes
2013-03-06 17:10:52 +01:00
Jan Steemann
d93c0693d0
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-03-06 14:33:40 +01:00
Jan Steemann
bdf906ef89
fixed a memleak for barriers
2013-03-06 14:33:23 +01:00
a-brandt
82bf2bca17
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-03-06 14:06:07 +01:00
Jan Steemann
5098792b4f
fixed invalid pointers when compacting deletion markers
...
fixed invalid pointers for updates
2013-03-06 14:02:32 +01:00
Frank Celler
dfd20cd4e2
use TRI_AddGlobalVariableVocbase
2013-03-05 14:49:19 +01:00
a-brandt
e41847c336
moved random generators and nonce functions to internal and crypto module
2013-03-04 16:18:00 +01:00
a-brandt
58148f33a4
changed nonce handling
2013-03-04 14:03:22 +01:00
a-brandt
d6392971bf
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-03-04 09:06:45 +01:00
Jan Steemann
d2469bf46d
constified
2013-03-01 18:14:40 +01:00
a-brandt
354a540636
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-03-01 16:49:27 +01:00
a-brandt
8d78bb1c60
added rondom generator and nonce support
2013-03-01 16:48:37 +01:00
Jan Steemann
f613c3c4d9
fixed race conditions when reading/deleting documents
2013-03-01 16:44:40 +01:00
Oreste Panaia
fc5e1ba623
merge conflicts with devel
2013-02-28 19:42:58 +08:00
Oreste Panaia
a48696ec28
network modifications required for windows
2013-02-28 17:43:39 +08:00
Frank Celler
a79279445a
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-26 18:20:27 +01:00
Frank Celler
85d2e87154
added new package option
2013-02-25 18:15:32 +01:00
Jan Steemann
bed09cbbe2
fixed deleting indexes by numeric id
2013-02-25 13:52:50 +01:00
Jan Steemann
b3f52d0bfc
fixed dropping of indexes
2013-02-25 13:36:17 +01:00
Jan Steemann
382047dbd6
issue #404
2013-02-18 14:28:19 +01:00
Frank Celler
ced7b05cca
added fix for TRI_ENABLE_LOGGING from Jan
2013-02-16 14:03:35 +01:00
Frank Celler
7072fab0f1
fixed merge error
2013-02-15 13:10:46 +01:00
Frank Celler
cf2888b4fc
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
...
Conflicts:
CHANGELOG
Documentation/Manual/Upgrading12.md
Installation/Linux/rc.arangod.OpenSuSE
2013-02-15 12:59:16 +01:00
Frank Celler
45c815b7eb
fixed issue #403 : Usage of exit() etc.
2013-02-15 12:19:09 +01:00
Frank Celler
069dcdfc94
changed logging of fatal errors
2013-02-14 16:47:35 +01:00
Jan Steemann
0f29e2b7dd
pass request body to user-defined PATCH action
2013-02-12 18:17:07 +01:00
Jan Steemann
8365c4294c
small mods
2013-02-12 18:16:23 +01:00
Jan Steemann
f569639445
pass body to user action code for HTTP PATCH calls
2013-02-12 18:05:08 +01:00
Jan Steemann
0f8dc061cb
comments
2013-02-12 16:30:13 +01:00
Jan Steemann
afbc5da1de
issue #395
2013-02-12 12:05:04 +01:00
Jan Steemann
3f4ab48305
issue #395
2013-02-12 12:05:04 +01:00
Jan Steemann
e02333a053
issue #395
2013-02-12 12:01:20 +01:00
Jan Steemann
ca84aacd1d
issue #395
2013-02-12 11:47:43 +01:00
Frank Celler
77c3b233dc
moved .dox to .md
2013-02-09 23:37:34 +01:00
a-brandt
ad570cf6c9
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-08 14:20:33 +01:00
a-brandt
4daf9d618b
added "v8::V8::LowMemoryNotification()" before "while (!v8::V8::IdleNotification())" to trigger V8 GC
2013-02-08 14:20:12 +01:00
Jan Steemann
8eea104b39
remove 1.2 & 1.1 travis builds
2013-02-07 17:19:58 +01:00
Jan Steemann
7273af5c53
fixed arango-dfdb to not segfault that often when reading corrupt datafile
2013-02-06 14:26:18 +01:00
Jan Steemann
dbcc86171f
added more crash-protection when reading corrupted collection files at startup
2013-02-06 12:34:53 +01:00
Jan Steemann
f17629817a
make getindexes and count nestable
2013-02-05 11:36:16 +01:00
Jan Steemann
923027bfdd
unify collection names returned by rest API
2013-02-04 19:52:05 +01:00
Jan Steemann
38bceb5df5
make functions private
2013-02-04 18:51:38 +01:00
Jan Steemann
8a6225865f
removed lock classes
2013-02-04 14:40:14 +01:00
Jan Steemann
a1dc59e85b
moved AQL stuff into AhuacatlTransaction
2013-02-04 13:51:09 +01:00
Jan Steemann
b12dda013c
removed transactioncollection
2013-02-04 13:26:23 +01:00
Jan Steemann
de0b290bcd
moved AQL to use AhuacatlTransaction
2013-02-04 11:25:03 +01:00
Jan Steemann
f6cf885ed2
removed unused function
2013-02-01 17:09:41 +01:00
Jan Steemann
eaf4166b3e
more tests, less collection loading
2013-02-01 15:20:01 +01:00
Jan Steemann
9a1bac1d69
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-02-01 13:43:48 +01:00
Jan Steemann
ca8935ae2a
fix collection name handling in the face of parallel renames
2013-02-01 13:43:14 +01:00
Oreste Panaia
3c8093849a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-31 00:07:19 +08:00
Oreste Panaia
e0b7fbbf8d
windows icu
2013-01-31 00:04:20 +08:00
Jan Steemann
47ad5e1139
removed dead configure option for 1.2
2013-01-30 13:19:20 +01:00
Jan Steemann
6e81f7f6fa
return collection ids, cursor ids, and index ids as stringified integers, too
2013-01-28 20:11:29 +01:00
Jan Steemann
1de10d6ea4
make collection id be returned as a string so it cannot overflow
2013-01-28 18:30:48 +01:00
Jan Steemann
17098dd4ef
added support for HTTP OPTIONS method, pt 1
2013-01-25 19:11:33 +01:00
Jan Steemann
17530a5e45
added number of shapes in return value of figures()
2013-01-25 10:19:02 +01:00
Jan Steemann
81dc83b8df
de-globalised aql
2013-01-24 14:49:55 +01:00
Jan Steemann
19da33abb7
use own vocbase
2013-01-21 20:14:58 +01:00
Jan Steemann
0ce5d965e7
some cleanup
2013-01-21 19:52:50 +01:00
Jan Steemann
9e5fb04043
moved any() to trx
2013-01-21 13:20:22 +01:00
Jan Steemann
65d637e488
removed some stuff for 1.2
2013-01-21 12:53:18 +01:00
Jan Steemann
08516043eb
added documentation for collection.revision()
2013-01-21 09:19: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
52309cf188
fixed tests & segfault during tests
2013-01-18 00:58:14 +01:00
Frank Celler
670dc221ab
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/client/client.js
js/common/bootstrap/module-internal.js
js/common/modules/org/arangodb/simple-query-common.js
js/server/ahuacatl.js
2013-01-17 23:56:31 +01:00
Frank Celler
159f613169
more cleanup
2013-01-17 18:24:58 +01:00
Jan Steemann
301d297536
updated documentation
2013-01-17 18:10:10 +01:00
Jan Steemann
82a0ec603d
updated documentation
2013-01-17 17:40:50 +01:00
Frank Celler
3c21a87366
more cleanup
2013-01-17 16:01:15 +01:00
Jan Steemann
bbade8c0b8
removed the non-working indexSubstrings property for fulltext indexing
2013-01-17 15:58:28 +01:00
Jan Steemann
913480e881
make revision ids strings so they do not clip in clients that do not support 64 bit integers
2013-01-17 15:02:55 +01:00
Jan Steemann
adb5d32918
allow using of non-loaded collections when referring to them from an edge collection
2013-01-16 17:15:39 +01:00
Jan Steemann
4b15da54ba
removed assertion
2013-01-16 11:15:05 +01:00
Jan Steemann
3fef8b6451
reserve full capacity of result set
2013-01-16 01:39:17 +01:00
Jan Steemann
7a6db16241
added db._version()
2013-01-15 16:44:48 +01:00
Jan Steemann
2058700697
issue #353
2013-01-15 14:35:05 +01:00
Jan Steemann
4818f22b21
fixes
2013-01-14 02:58:19 +01:00
Jan Steemann
975ef80e99
fixed 1.1 to 1.2 upgrade for big document ids
2013-01-13 10:58:44 +01:00
Frank Celler
4d4c4abe3f
fixed null check
2013-01-11 10:40:50 +01:00
Frank Celler
33e3031380
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
VERSION
arangod/V8Server/v8-query.cpp
build_posix.h
configure
configure.ac
2013-01-10 18:00:25 +01:00
Jan Steemann
819f6775d7
fixed comment
2013-01-10 16:31:18 +01:00
Frank Celler
03f85fae23
added 'any' call for collections
2013-01-10 10:39:43 +01:00
Jan Steemann
485d10ad51
added collection.revision() method
2013-01-10 02:02:32 +01:00
Frank Celler
128cb67c8b
Merge remote-tracking branch 'origin/1.1' into devel
...
Conflicts:
Documentation/Examples/shell-read-document-bad-handle
Makefile.in
arangod/Documentation/shell-document.dox
configure
js/actions/system/api-collection.js
js/actions/system/api-index.js
js/actions/system/api-system.js
js/common/bootstrap/modules.js
js/common/bootstrap/print.js
js/server/ArangoCollection.js
lib/V8/v8-utils.cpp
2013-01-09 15:30:21 +01:00
Jan Steemann
187d8ecc69
some transaction rework
2013-01-08 17:26:16 +01:00
Frank Celler
99b42b90b7
updated documentation for deployment and removeByExample
2013-01-08 11:02:14 +01:00
Jan Steemann
07aa2a3b68
re-added missing function
2013-01-07 22:32:40 +01:00
Jan Steemann
d76920443d
added tests and documentation for volatile collections
2013-01-07 10:55:25 +01:00
Frank Celler
3826a4603e
removed print.js
2013-01-06 00:23:40 +01:00
Frank Celler
337cee7606
fixed jslint warnings
2013-01-05 23:59:44 +01:00
Frank Celler
7be1c01bda
removed linked in JavaScript code, separate files for 'fs' and 'console'
2013-01-05 23:24:10 +01:00
Frank Celler
51779b4a3e
fixed more jslint warnings
2013-01-05 17:13:13 +01:00
Frank Celler
e3c1aeec53
fixed typo in documentation
2013-01-05 16:20:46 +01:00
Frank Celler
aa0d9d4e3e
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
js/server/server.js
2013-01-05 12:38:09 +01:00
Frank Celler
24fc2d371e
moved methods to ArangoCollection
2013-01-05 11:46:33 +01:00
Frank Celler
0549528325
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
CHANGELOG
Makefile.in
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/v8-vocbase.cpp
html/admin/js/master.js
js/actions/system/api-collection.js
js/common/bootstrap/errors.js
js/server/version-check.js
lib/BasicsC/errors.dat
lib/BasicsC/logging.c
lib/BasicsC/voc-errors.c
lib/BasicsC/voc-errors.h
2013-01-05 11:16:50 +01:00
Jan Steemann
51305de692
in-memory collections, seem to work now
...
documentation and some helper functions are still missing
2013-01-04 17:04:15 +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
f9dba124dd
Merge remote-tracking branch 'origin/issue317' into 1.1
...
Conflicts:
js/common/bootstrap/modules.js
2013-01-03 18:57:18 +01:00
Frank Celler
8564443078
delete is remove
2013-01-03 17:14:03 +01:00
Frank Celler
53364b7f15
updated error codes
2013-01-03 16:31:55 +01:00
Jan Steemann
63805cf84c
a few small fixes for logging
2013-01-03 14:47:16 +01:00
Jan Steemann
132143289d
a few small fixes for logging
2013-01-03 14:45:56 +01:00
Frank Celler
503e0ff8fe
fixed merge conflicts
2013-01-02 18:07:57 +01:00
Frank Celler
f188357f83
added padding for 32bit
2013-01-02 17:07:44 +01:00
Frank Celler
dadcef3de3
renamed execute/load to executelocal and executeglobal
2013-01-02 14:52:55 +01:00
Frank Celler
d5f24ce13c
Merge remote-tracking branch 'origin/windows' into HEAD
...
Conflicts:
CHANGELOG
Documentation/InstallationManual/Installing.md
Documentation/Makefile.files
Documentation/Scripts/generateTOC.py
Documentation/header.html
Installation/OBS/clean-repo.sh
Installation/OBS/create-repo.sh
Installation/OBS/create-ymp.sh
Installation/OBS/index.html
Installation/OBS/load-repo.sh
Makefile.in
VERSION
aclocal.m4
arangod/Ahuacatl/ahuacatl-functions.c
arangod/Documentation/user-manual.dox
arangod/V8Server/v8-actions.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/collection.c
arangod/VocBase/datafile.c
arangosh/V8Client/arangosh.cpp
config/compile
config/config.guess
config/config.sub
config/depcomp
config/install-sh
config/missing
configure
configure.ac
js/server/arango-upgrade.js
js/server/modules/org/arangodb/actions.js
lib/BasicsC/logging.c
lib/Utilities/ScriptLoader.cpp
2012-12-20 11:11:47 +01:00
Oreste Panaia
83ded3fc1f
windows fixes
2012-12-20 17:17:30 +08:00
Jan Steemann
229b902a12
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-12-18 14:56:37 +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
Frank Celler
621e4409bc
Merge remote-tracking branch 'origin/1.1' into devel
...
Conflicts:
.gitignore
CHANGELOG
Documentation/Makefile.files
Installation/build.sh
Installation/epm/arangodb.list
Makefile.in
README
README.md
VERSION
aclocal.m4
arangod/HashIndex/hasharray.c
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
config/config.guess
config/config.sub
config/depcomp
configure
configure.ac
html/admin/js/master.js
js/server/arango-password.js
js/server/version-check.js
lib/BasicsC/files.c
lib/BasicsC/logging.c
utils/Makefile.files
2012-12-18 13:37:34 +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
0a9ed409ab
fixed wrong memory zone and wrong documentation
2012-12-11 18:58:42 +01:00
Jan Steemann
fb4afd0353
fulltext index
2012-12-10 12:16:48 +01:00
Jan Steemann
cbaa57a1bd
cleanup of fulltext indexes, resizing etc.
2012-12-07 18:00:01 +01:00
Jan Steemann
63b4c94b0f
fulltext resizing, halfway
2012-12-07 13:50:29 +01:00
Jan Steemann
0b001b7a87
fixed memory leaks, added newest code by Richard
2012-12-06 16:43:33 +01:00
Oreste Panaia
857b66c490
windows version
2012-12-06 20:44:01 +08:00
Jan Steemann
895be759ac
removed debug message
2012-12-06 09:29:27 +01:00
Jan Steemann
69986a5de0
fixed a segfault when searching for empty words in fulltext
2012-12-06 09:28:02 +01:00
Jan Steemann
1ffa8e702c
more tests and documentation for fulltext indexes
2012-12-05 16:12:33 +01:00
Jan Steemann
1811ce9186
fixed some issues found by cppcheck
2012-12-04 18:21:29 +01:00
Frank Celler
5283ec7bfa
fixed documentation
2012-12-04 16:25:51 +01:00
Jan Steemann
0b41690881
tests for substrings
2012-12-04 15:01:48 +01:00
Jan Steemann
46132c9f26
more tests for fulltext
2012-12-04 14:20:55 +01:00
Jan Steemann
285533ab4c
added documentation for --upgrade option
2012-12-04 11:55:04 +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
efde7b5efa
first test cases for fulltext index
2012-12-03 23:55:46 +01:00
Jan Steemann
195cdb81a8
using TRI_Free
2012-12-03 18:05:53 +01:00
Jan Steemann
1130df4330
utf8 lower-casing and normalisation for fulltext strings
2012-12-03 17:14:54 +01:00
Jan Steemann
cdbb96788f
issue #313
2012-12-03 15:30:01 +01:00
Frank Celler
8f88311ab5
Merge branch '1.1' of github.com:triAGENS/ArangoDB into 1.1
2012-12-03 15:20:57 +01:00
Frank Celler
e5ee30f30b
added bitarray documentation, added TOC
2012-12-03 15:20:49 +01:00
Jan Steemann
d60888e970
replaced arango-upgrade script with server startup option --upgrade
2012-12-03 13:45:58 +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
27883efbee
updated documentation
2012-11-29 10:44:14 +01:00