Hi, I use the REST API to configure my databases via JSON files (a great feature!).
There is a problem with the configuration of range-element-indexes. According to the documentation <https://docs.marklogic.com/REST/PUT/manage/v2/databases/%5Bid-or-name%5D/properties>it should be possible to define "one or more localnames" within one range-element-index object. Partial JSON config for more than one localname: "range-element-index" : [{ "scalar-type" : "string", "namespace-uri" : " http://foo", *"localname" : ["an_entry", "another_entry"]*, "collation" : " http://marklogic.com/collation/de", "range-value-positions" : false, "invalid-values" : "reject" }] When I submit more than one localname I get the following error: Info: Manage: XDMP-AS: (err:XPTY0004) $localname as xs:string -- Invalid coercion: <localname xmlns="http://marklogic.com/manage/database/properties ">created replace deleted</localname> as xs:string In "phrase-through" it works as expected. Partial JSON config: "phrase-through" : [{ "namespace-uri" : "http://www.w3.org/1999/xhtml", *"localname" : ["a", "abbr"]* }] Best regards, Andreas -- Andreas Hubmer IT Consultant EBCONT enterprise technologies GmbH Millennium Tower Handelskai 94-96 A-1200 Vienna Web: http://www.ebcont.com OUR TEAM IS YOUR SUCCESS UID-Nr. ATU68135644 HG St.Pölten - FN 399978 d
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
