Mistake in the docs?

Wednesday, 1 July 2015 · 2 messages · last reply 2 Jul 2015
ML
Marco Lettere1 Jul 2015 22:34 #
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.
CG
Christian Grün2 Jul 2015 09:33 #
Quoted text · Marco Lettere · 3 lines
> 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.
You're surely right. Thanks in advance for fixing it! Christian

⚡Generated with XQuery