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