checkDocumentId( member, propertiesMetadata, isRoot, prefix, context );
}
protected void checkDocumentId(XProperty member, PropertiesMetadata propertiesMetadata, boolean isRoot, String prefix, ConfigContext context) {
Annotation idAnnotation = getIdAnnotation( member, context );
NumericField numericFieldAnn = member.getAnnotation( NumericField.class );
if ( idAnnotation != null ) {
String attributeName = getIdAttributeName( member, idAnnotation );
if ( isRoot ) {
if ( explicitDocumentId ) {
throw new SearchException( "More than one @DocumentId specified on entity " + getBeanClass().getName() );