How can we specify own key or ID for inserted document

"johan bos" <[email protected]>
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Hello everyone,

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

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.