|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.solr.server.support.SolrServerUtils
public class SolrServerUtils
| Method Summary | ||
|---|---|---|
static String |
appendCoreToBaseUrl(String baseUrl,
String core)
Append core to given baseUrl |
|
static
|
clone(T solrServer)
|
|
static
|
clone(T solrServer,
String core)
Create a clone of given SolrServer and modify baseUrl of clone to point to the given core. |
|
static String |
resolveSolrCoreName(Class<?> type)
Resolve solr core/collection name for given type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String resolveSolrCoreName(Class<?> type)
type -
SolrDocument not present or SolrDocument.solrCoreName() is blank.public static <T extends org.apache.solr.client.solrj.SolrServer> T clone(T solrServer)
public static <T extends org.apache.solr.client.solrj.SolrServer> T clone(T solrServer,
String core)
SolrServer and modify baseUrl of clone to point to the given core.
solrServer - Non null reference SolrServer to copy properties from.core - Name of solr core to point to.
BeanInstantiationException - if creating instance failed
public static String appendCoreToBaseUrl(String baseUrl,
String core)
baseUrl - core -
|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||