You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Right now we are passing in the index xml directly from ml-config.xml into the admin API functions to create indexes:
declare function setup:add-range-element-attribute-indexes-R(
$admin-config as element(configuration),
$database as xs:unsignedLong,
$index-configs as element(db:range-element-attribute-index)*) as element(configuration)
{
if ($index-configs) then
setup:add-range-element-attribute-indexes-R(
admin:database-add-range-element-attribute-index($admin-config, $database, $index-configs[1]),
$database,
fn:subsequence($index-configs, 2))
else
$admin-config
};
Instead, we need to use the appropriate admin API function to create the index xml prior to calling the create function(s):
admin:database-range-element-attribute-index(...)
This keeps dirty xml from making its way into the server xml configs. If dirty xml gets in there then bad things happen.
The text was updated successfully, but these errors were encountered:
Got caught by this issue as well. If you capture existing indexes in which some namespace-uris are empty, the relevant namespace-uri elements are left out. Current bootstrap injects that XML without complaints, but if you try to view the indexes from the Admin interface, that will show a big error message. The indexes are unavailable as well.
Right now we are passing in the index xml directly from ml-config.xml into the admin API functions to create indexes:
Instead, we need to use the appropriate admin API function to create the index xml prior to calling the create function(s):
This keeps dirty xml from making its way into the server xml configs. If dirty xml gets in there then bad things happen.
The text was updated successfully, but these errors were encountered: