I believe I just implemented this by allowing the mapper to forward a “commit strategy” to the backend; see HSEARCH-3118.