k thanks yes I dint checked it before I was using DIH full import directly and one day I observed that my solr search was giving duplicate results then I deleted all the entries and re index the data....and after that for ensure that this does not happen I always use delete first then do full import...k so this automatically does that...
thanks for confirming. regards Rohan On Mon, Mar 18, 2013 at 1:32 PM, Gora Mohanty <g...@mimirtech.com> wrote: > On 18 March 2013 13:09, Rohan Thakur <rohan.i...@gmail.com> wrote: > > hi all > > > > how can I ensure that I have delete all the fields for solr before doing > > full import in DIH only? the aim is that my database is pretty small so > > full import takes only 3-4 sec. thus I do not require delta import for > now > > and I want to ensure that when ever I do full import of the database the > > duplicate field do not get indexed that is multiple instances of same > > document does not get indexed so want to delete all the documents first > and > > then reindex using full import. any one help. > > Have you tried a full-import? What you want is done by default by > DIH, unless one specifies clean=false as a query parameter to the > full-import URL. > > Regards, > Gora >