The last method that gets called now is the destroy method of the EntityProcessor of the rootmost entity. If you wish you can extend the SqlEntityProcessor and override the destroy () method and make it the processor for your root most entity
On Wed, Dec 24, 2008 at 11:17 PM, Kay Kay <[email protected]> wrote: > 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. > -- --Noble Paul
