Hi,

I want to update the path range indexes on a database via the Management
API.  So I send a PUT to /databases/xxx/properties with the following
content:

    { "range-path-index": [{
        "scalar-type": "date",
        "range-value-positions": false,
        "invalid-values": "reject",
        "collation": "",
        "path-expression": "xxx/xxx"
    }]}

There are actually 4 objects in the array, each with a different path.  2
of them have already be created, I want to add the other 2 (so I update the
entire property to the total 4 indexes).  This is the same strategy I use
for other range indexes.

I receive a ADMIN-DUPLICATECONFIGITEM error:

    Database resource 'xxx' already contains 'range-path-index'

Any idea?  Isn't it possible to update the path range indexes?  Should it
be done differently?

Regards,

-- 
Florent Georges
H2O Consulting
http://h2o.consulting/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to