public static String resolveSolrCoreName(Class<?> type) {
		SolrDocument annotation = AnnotationUtils.findAnnotation(type, SolrDocument.class);
		if (annotation != null && StringUtils.isNotBlank(annotation.solrCoreName())) {
			return annotation.solrCoreName();
		}
		return "";
	}
public static String resolveSolrCoreName ( Class < ? > type ) { SolrDocument annotation = AnnotationUtils . findAnnotation ( type , SolrDocument . class ) ; if ( annotation != null && StringUtils . isNotBlank ( annotation . solrCoreName ( ) ) ) { return annotation . solrCoreName ( ) ; } return "" ; }
Resolve solr core/collection name for given type.

@param type
@return empty string if {@link SolrDocument} not present or {@link SolrDocument#solrCoreName()} is blank.
@since 1.1