|
From: Matthias R. <mat...@gm...> - 2026-10-20 11:55:59
|
Hi all,
how do I trigger a re-indexing immediately after installing an application?
I load an .xar file via launcher, its repo.xml has
<finish>post-install.xql</finish>
and post-install.xql is like:
let $login := xmldb:login('/db/apps/coll', 'admin', 'pw')
let $result := xmldb:reindex('/db/apps/coll')
return
<reindexed n="{$login}">{$result}</reindexed>
post-install.xql is not called after unpacking the repo-xar according to
Monex.
It returns true called directly via (after running a while) but does not
create an index, the same even without xmldb:login (which I would rather
avoid admin credentials in xar-file).
tested in 5.2.0, 6.0.1 and 6.4.1.
any help is welcome.
thanks,
Matthias
|