}
// now add the entity id to the document
if ( containsFieldName( idFieldName, includedFieldNames ) ) {
DocumentFieldMetadata idFieldMetaData = idPropertyMetadata.getFieldMetadata( idFieldName );
LuceneOptions luceneOptions = new LuceneOptionsImpl( idFieldMetaData, idFieldMetaData.getBoost(), documentLevelBoost );
final FieldBridge contextualizedBridge = conversionContext.oneWayConversionContext( getIdBridge() );
conversionContext.setClass( entityType );
conversionContext.pushProperty( idFieldMetaData.getName() );
try {