1
0
Fork 0

documentation updates

This commit is contained in:
jsteemann 2017-06-01 11:14:12 +02:00
parent 3df0940c7e
commit 4985911a65
2 changed files with 19 additions and 5 deletions

View File

@ -1,8 +1,10 @@
devel
-----
* the rocksdb storage format was changed, users of the previous alpha versions
must delete the database directory and reimport their data
* added `REGEX_REPLACE` AQL function
* the RocksDB storage format was changed, users of the previous alpha versions
must delete the database directory and re-import their data
* added server startup option `--query.fail-on-warning`

View File

@ -257,11 +257,23 @@ AQL
FILTER DISTANCE(doc.latitude, doc.longitude, 0, 0) < 2000
RETURN doc
Note that this will work in the MMFiles engine only.
### Miscellaneous improvements
* added `REGEX_REPLACE` AQL function
`REGEX_REPLACE(text, search, replacement, caseInsensitive) → string`
Replace the pattern *search* with the string *replacement* in the string
*text*, using regular expression matching.
- **text** (string): the string to search in
- **search** (string): a regular expression search pattern
- **replacement** (string): the string to replace the *search* pattern with
- returns **string** (string): the string *text* with the *search* regex
pattern replaced with the *replacement* string wherever the pattern exists
in *text*
* added new startup option `--query.fail-on-warning` to make AQL queries
abort instead of continuing with warnings.