Examples of solrCoreName()


Examples of org.springframework.data.solr.core.mapping.SolrDocument.solrCoreName()

   * @return empty string if {@link SolrDocument} not present or {@link SolrDocument#solrCoreName()} is blank.
   * @since 1.1
   */
  public static String resolveSolrCoreName(Class<?> type) {
    SolrDocument annotation = AnnotationUtils.findAnnotation(type, SolrDocument.class);
    if (annotation != null && StringUtils.isNotBlank(annotation.solrCoreName())) {
      return annotation.solrCoreName();
    }
    return "";
  }

View Full Code Here

Examples of org.springframework.data.solr.core.mapping.SolrDocument.solrCoreName()

   * @since 1.1
   */
  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 <T extends SolrServer> T clone(T solrServer) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.