public class SolrUtils extends Object
Constructor and Description |
---|
SolrUtils() |
Modifier and Type | Method and Description |
---|---|
static CloudSolrClient |
getCloudSolrClient(String url) |
static SolrClient |
getHttpSolrClient(String url) |
static ArrayList<SolrClient> |
getSolrClients(JobConf job) |
static String |
stripNonCharCodepoints(String input) |
public static ArrayList<SolrClient> getSolrClients(JobConf job) throws MalformedURLException
JobConf
- MalformedURLException
public static CloudSolrClient getCloudSolrClient(String url) throws MalformedURLException
MalformedURLException
public static SolrClient getHttpSolrClient(String url) throws MalformedURLException
MalformedURLException
Copyright © 2017 The Apache Software Foundation