final ContextualExceptionBridge contextualBridge = new ContextualExceptionBridge()
.setFieldBridge( idBridge )
.setClass( entityType )
.setFieldName( idKeywordName );
if ( idGetter != null ) {
contextualBridge.pushMethod( idGetter.getName() );
}
contextualBridge.set( idKeywordName, id, doc, luceneOptions );
if ( idGetter != null ) {
contextualBridge.popMethod();
}