As far as I know you can not do that with DIH. What size is your index? Probably the best you can do is index from scratch again with full-import.
clico wrote: > > I hope it could be a solution. > > But I think I understood that u can use deletePkQuery like this > > "select document_id from table_document where statusDeleted= 'Y'" > > In my case I have no status like "statusDeleted". > > The request I would like to write is > > "Delete from my solr Index the id that are no longer present in my > table_document" > > With Lucene I had a way to do that : > open IndexReader, > for each lucene document : check in table_document and remove in lucene > index if document is no longer present in the table > > > > > -- View this message in context: http://www.nabble.com/Remove-data-from-index-tp25063736p25063986.html Sent from the Solr - User mailing list archive at Nabble.com.