public class SolrClientUtils extends Object
SolrClientUtils replaces SolrServerUtils from version 1.x| Modifier and Type | Method and Description |
|---|---|
static void |
close(org.apache.solr.client.solrj.SolrClient solrClient)
|
static String |
resolveSolrCoreName(Class<?> type)
Resolve solr core/collection name for given type.
|
public static String resolveSolrCoreName(Class<?> type)
type - SolrDocument not present or SolrDocument.solrCoreName() is blank.public static void close(org.apache.solr.client.solrj.SolrClient solrClient)
solrClient - must not be null.DataAccessResourceFailureExceptionCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.