Revision 42659
Added by Sandro La Bruzzo almost 8 years ago
SolrIndexClient.java | ||
---|---|---|
68 | 68 |
final SolrTypeBasedCqlValueTransformerMapFactory tMapFactory) { |
69 | 69 |
super(format, layout, interpretation, serviceProperties); |
70 | 70 |
|
71 |
log.debug(String.format("Created a new instance of the index of type %s-%s-%s", format, layout, interpretation));
|
|
71 |
log.debug(String.format("Created a new instance of the index of type %s_%s_%s", format, layout, interpretation));
|
|
72 | 72 |
this.solrIndexQueryFactory = indexQueryFactory; |
73 | 73 |
this.queryResponseFactory = queryResponseFactory; |
74 | 74 |
this.tMapFactory = tMapFactory; |
... | ... | |
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
added light-ui