Thanks Erick. Your solution do make sense. Actually i wanted to know, how to use delete via query or unique id through DIH?
Is there any specific query to be mentioned in data-config.xml? Also Is there any separate command like "full-import" ,"delta-import" for deleting documents from index? On Thu, Aug 26, 2010 at 12:03 AM, Erick Erickson <erickerick...@gmail.com>wrote: > I'm not sure what you mean here. You can delete via query or unique id. But > DIH really isn't relevant here. > > If you've defined a unique key, simply re-adding any changed documents will > delete the old one and insert the new document. > > If this makes no sense, could you explain what the underlying problem > you're > trying to solve is? > > HTH > Erick > > On Tue, Aug 24, 2010 at 8:56 PM, Pawan Darira <pawan.dar...@gmail.com > >wrote: > > > Hi > > > > I am using data import handler to build index. How can i delete documents > > from my index using DIH. > > > > -- > > Thanks, > > Pawan Darira > > > -- Thanks, Pawan Darira