Esempio n. 1
0
 @Override
 public String getSolrCoreName() {
   String coreName = solrCore.getCoreName();
   if (StringUtils.isBlank(coreName)) {
     coreName = "collection";
   }
   return coreName;
 }
Esempio n. 2
0
 public String getSolrRequestUrl(String handler) {
   String baseUrl = GWT.getHostPageBaseURL();
   String coreName = solrCore.getCoreName();
   StringBuffer sb = new StringBuffer();
   sb.append(baseUrl).append(coreName);
   sb.append("/").append(handler);
   return sb.toString();
 }