here is the schema I used.
I actually simplify a real schema I used to this one. You can still just define this schema
against a temp collection. I have created multipath index on “div”, “id”, and even “note”,
with this schema,
/div[@id]/note ----- use the index “id”
//div[@id]/note------ use the index “id”
//div[@id]//note and /div[@id]//note don’t use the index “id”
some how, in my real schema, //div[@id]//note works. anyway, how can we
make the two queries to use the index on “id”
the scenario I have is : many users will update the documents in a collection at the same time using queries in above format, if Tamino doesn’t use the index, then it will lock the whole
doctype when a user update a document, preventing others to update different document at the same time.
#Tamino#webMethods#API-Management