Hi! I have a similar problem but I don't have the solution for now. I will send my progress.
Marc Sturlese wrote: > > Hey there, > Since few weeks ago I am trying to migrate my lucene core app to Solr and > many questions are coming to my mind... > Before being in ApacheCon I thought that my Lucene Index works fine with > my Solr Search Engine but after my conversation with Erik in the Solr > BootCamp I understood that the structure of the Fields in the Solr Index > are different, specially in analyzing stuff. > > Now, I want to use Solr to index too and I have some questions: > The first thing I do when I launch the indexer is to delete a lot of > documents that I have marked in a db with a field delete=1 that I have > indexed before in the Lucene Index. > Once it is done, I also delete the documents from the DB. > After that, I index some docs from the same DB (the 100.000 newest Docs > and some other modifieds). > > To do the migration I have started using DataImportHandler (with > JDBCDataSource) with Delta Import to add new documents. The thing is that > I can not find a way to delete the rows from the DB neither the docs from > my index with DataImportHandler. > > Is to do an implementation of the DataSource the best way to do this task? > Is there a better way? > > Thanks for everything!!! > -- View this message in context: http://www.nabble.com/indexing-data-and-deleting-from-index-and-database-tp20466411p20471445.html Sent from the Solr - User mailing list archive at Nabble.com.