// mapping for Item
IndexedMapping itemMapping = fluentMapping
.entity( Item.class )
.indexed();
if ( withClassBridgeOnItem ) {
itemMapping.classBridge( NoopClassBridge.class );
}
itemMapping.property( "catalogItems", ElementType.FIELD ).indexEmbedded().depth( depth );
return builder.build();
}