Can we delete documents based on an Id
Lahiru Gunathilake <[email protected]> Fri, 25 Feb 2011 21:39:11 +0530
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
--0015175ce0f4fbff88049d1d8ca6 Content-Type: text/plain; charset=ISO-8859-1 Hi Devs, Is there a way to delete an added resource based on an ID. My requirement is like this. I am pumping in the incoming xml content to xindice while storing them in to a repository and when user try to remove a resource from repository i need to remove that from the xindice too, otherwise I am keeping unnecessary data on the db. By looking at your API's i couldn't find a way to remove the content by parsing an ID, but during adding the resource I can keep a list of ID's i have added to xindice. Do you have any solution for this or is there any other way to achieve this ? Regards Lahiru -- Lahiru Gunathilake Senior Software Engineer - WSO2 Inc. www.wso2.com Email:[email protected] Blog: www.lahiru.org Mobile: +94716381143 Lean . Enterprise . Middleware --0015175ce0f4fbff88049d1d8ca6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Devs,<div><br></div><div>Is there a way to delete an added resource base= d on an ID. My requirement is like this.</div><div><br></div><div>I am pump= ing in the incoming xml content to xindice while storing them in to a repos= itory and when user try to remove a resource from repository i need to remo= ve that from the xindice too, otherwise I am keeping unnecessary data on th= e db. By looking at your API's i couldn't find a way to remove the = content by parsing an ID, but during adding the resource I can keep a list = of ID's i have added to xindice.</div> <div><br></div><div>Do you have any solution for this or is there any other= way to achieve this ?</div><div><br></div><div>Regards</div><div>Lahiru<br= clear=3D"all"><br>-- <br>Lahiru Gunathilake<br>Senior Software Engineer - = WSO2 Inc. <a href=3D"http://www.wso2.com">www.wso2.com</a><br> <br><a href=3D"mailto:Email%[email protected]">Email:[email protected]</a> Bl= og: <a href=3D"http://www.lahiru.org">www.lahiru.org</a><br>Mobile: +947163= 81143<br><br>Lean . Enterprise . Middleware<br><br> </div> --0015175ce0f4fbff88049d1d8ca6--