Revision 57076
Added by Alessia Bardi over 4 years ago
modules/dnet-data-provision-services/branches/saxonHE/src/main/java/eu/dnetlib/index/solr/client/SolrIndexClient.java | ||
---|---|---|
222 | 222 |
String url = getUrl(); |
223 | 223 |
log.debug("create new Client " + url); |
224 | 224 |
client = new CloudSolrClient(url); |
225 |
client.setDefaultCollection(String.format("%s_%s_%s", getFormat(), getLayout(), getInterpretation()));
|
|
225 |
client.setDefaultCollection(String.format("%s-%s-%s", getFormat(), getLayout(), getInterpretation()));
|
|
226 | 226 |
try { |
227 | 227 |
client.ping(); |
228 | 228 |
} catch (Exception e) { |
Also available in: Unified diff
-, instead of _ in index collection