Resource insert/update

"Natalia Shilenkova" <[email protected]>
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Hi All,

Recently I had to work on some code that would require to add unique
resources to Xindice database. Currently, collections can only "store"
resources, which will add new resource if the key does not exist in
the collection and will overwrite the resource with new data if key
already exists. What I needed instead was a way to "insert" or
"update" resource, where collection would get updated only if resource
with that key does not exist in case of insert or does exist in case
of update. Since Xindice does not support transactions or constraints,
I ended up creating new service that would allow user to insert/update
resources.

Are there any objections to adding this functionality to trunk?

Regards,
Natalia
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.