Re: Can we delete documents based on an Id

2011-02-28 Thread Lahiru Gunathilake
Hi Natalia, Cool thats a valid usecase and I prefer add a sample with this in to DeleteDocument.java file. I will do my contribution once I am done with these work. Regards Lahiru On Mon, Feb 28, 2011 at 7:53 PM, Natalia Shilenkova wrote: > Lahiru, > > Yes, the id and the document key is the sa

Re: Can we delete documents based on an Id

2011-02-28 Thread Natalia Shilenkova
Lahiru, Yes, the id and the document key is the same thing. Basically, when a resource is created, it gets assigned an id that can be used later to retrieve or delete that document. Regards, Natalia On Mon, Feb 28, 2011 at 7:20 AM, Lahiru Gunathilake wrote: > Hi Natalia, > Thanks Natalia for th

Re: Can we delete documents based on an Id

2011-02-28 Thread Lahiru Gunathilake
Hi Natalia, Thanks Natalia for the response. what do you mean by key, Is it the Id of the document or can you please tell me how to get his key. I believe its the id like for a documents there's method getId(), can you please confirm is that what you are referring as key ? Regards Lahiru On Mo

Re: Can we delete documents based on an Id

2011-02-28 Thread Natalia Shilenkova
On Feb 25, 2011, at 11:09 AM, Lahiru Gunathilake wrote: > 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 resour