For one of our apps - we have a workflow engine , of which - the full-import of data from a database to a Lucene index , is part of the same.

We need to have independent closeHook plugins attached to the full-import process as a way of fitting in our workflow.


I have created a new jira , jira-938 - to track the same - https://issues.apache.org/jira/browse/SOLR-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel .

A new interface - DataImportCloseHook is available that plugins can register themselves with to implement the same. Currently - the close hooks are called only in the case of full-imports and not delta imports, as the latter might be expensive.

I have submitted the patch that we use internally. Feel free to let me know your thoughts regarding the same.
  • Regarding adding close... Kay Kay

Reply via email to