Revision 8161
Added by Jing Tao over 11 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SolrIndex.java | ||
---|---|---|
112 | 112 |
* @throws SAXException |
113 | 113 |
* @throws IOException |
114 | 114 |
*/ |
115 |
public SolrIndex(List<SolrField> sysmetaSolrFields, XMLNamespaceConfig xmlNamespaceConfig)
|
|
115 |
public SolrIndex(XMLNamespaceConfig xmlNamespaceConfig, List<SolrField> sysmetaSolrFields)
|
|
116 | 116 |
throws XPathExpressionException, ParserConfigurationException, IOException, SAXException { |
117 | 117 |
this.xmlNamespaceConfig = xmlNamespaceConfig; |
118 | 118 |
this.sysmetaSolrFields = sysmetaSolrFields; |
metacat-index/src/main/resources/index-processor-context.xml | ||
---|---|---|
40 | 40 |
<constructor-arg> |
41 | 41 |
<list> |
42 | 42 |
<bean class="edu.ucsb.nceas.metacat.index.SolrIndex"> |
43 |
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_100"> |
|
44 |
</constructor-arg> |
|
45 | 43 |
<constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" /> |
44 |
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_100"/> |
|
46 | 45 |
<!--<property name="solrBaseUri" value="${solr.base.uri}" /> |
47 | 46 |
<property name="httpService" ref="httpService" /> --> |
48 | 47 |
<property name="subprocessors"> |
Also available in: Unified diff
Change the parameters order of the constructor. We maybe reuse some code from d1_cn_processor.