johan bos wrote:
Here my problem
Mail as everyone knows it, have UID specified.
I want instead of creating a document in my collection a generated ID or
Key want to use the UID of the message
It will simplify processing a lot
What's wrong with the org.xmldb.api.base.Collection.createResource() API? It has
name parameter.
http://xml.apache.org/xindice/api/org/apache/xindice/client/xmldb/XindiceCollection.html#createResource(java.lang.String,%20java.lang.String)
---------- 8< ----------
Parameters:
name - Name for the new resource. If it is empty or null, a name
will be assigned when storing the resource in the database.
---------- 8< ----------
Vadim