Hi,
interesting I don't think we have many "best practices" around this as usually connections / databases are reliable enought to make this problem unlikely to happen in practice; but this doesn't seem to be your case.
There is a possible solution, but it depends on what kind of errors you have:
The docs describe the option to register a custom ErrorHandler:
http://docs.jboss.org/hibernate/search/ ... e/#d0e2458you could collect information about which entities failed indexing, and assuming they are quite limited when the MassIndexer is done use the FulltextSession#index method to index them individually.
You won't be able to resume an indexing process if the process crashed, like if you kill the JVM you'll have to restart from the beginning.