Revision 7659
Added by Jing Tao over 11 years ago
metacat-common/src/main/java/edu/ucsb/nceas/metacat/common/SolrServerFactory.java | ||
---|---|---|
108 | 108 |
|
109 | 109 |
public static String getCollectionName() { |
110 | 110 |
if(collectionName == null) { |
111 |
Settings.getConfiguration().getString(SOLR_COLLECTION_NAME_PROPERTY_NAME); |
|
111 |
collectionName = Settings.getConfiguration().getString(SOLR_COLLECTION_NAME_PROPERTY_NAME);
|
|
112 | 112 |
} |
113 | 113 |
return collectionName; |
114 | 114 |
} |
Also available in: Unified diff
Fixed a bug the collection name was not set.