Hi Christian,
maybe there's a mistake in the docs on the db:create function.
* db:create("DB", file:list('.'), map { 'ftindex': true() }) adds all files of the current working directory to a new database and creates a full-text index.
I think an empty sequence is required as third parameter to fill the gap for paths parameter. Isn't it? If you agree I can fix it. Regards, Marco.
basex-talk@mailman.uni-konstanz.de