Thank you Kiran. Simple and nice. I lost a day today trying to make the
delta-import work.
--
View this message in context:
http://lucene.472066.n3.nabble.com/DIH-Delete-with-Full-Import-tp4040070p4279981.html
Sent from the Solr - User mailing list archive at Nabble.com.
define something like postImportDeleteQuery = Select Id
from
delete_log_table. Can someone provide me an example ?
postImportDeleteQuery and preImportDeleteQuery queries are lucene/solr queries.
For example I am using the following:
preImportDeleteQuery=document_type:(photo OR news OR video
Thank you Ahmet.
I figured it out. I had to define a separate entity which takes care of
deletes.
entity name=DeleteEntity query=
SELECT ID AS [$deleteDocById] FROM Log
WHERE '${dataimporter.request.clean}' = 'false'
AND Log_Date = '${dataimporter.last_index_time}'
Hi,
I'm using this configuration:
http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport
The wiki says: In this case it means obviously that in case you also want
to use deletedPkQuery then when running the delta-import command is still
necessary.
In this link: