Revision 10119
Added by ben leinfelder about 8 years ago
metacat-index/src/main/resources/application-context-mdq.xml | ||
---|---|---|
71 | 71 |
</bean> |
72 | 72 |
|
73 | 73 |
<bean id="mdq.metadata.funder" class="org.dataone.cn.indexer.parser.SolrField"> |
74 |
<constructor-arg name="name" value="mdq_metadata_funder_sm" />
|
|
74 |
<constructor-arg name="name" value="mdq_metadata_funder_s" /> |
|
75 | 75 |
<constructor-arg name="xpath" |
76 |
value="//metadata/funder" />
|
|
77 |
<property name="multivalue" value="true" />
|
|
76 |
value="//result[check/id[text() = 'check.echo.funder.1']]/output" />
|
|
77 |
<property name="multivalue" value="false" />
|
|
78 | 78 |
</bean> |
79 | 79 |
|
80 | 80 |
<bean id="mdq.metadata.rightsHolder" class="org.dataone.cn.indexer.parser.SolrField"> |
81 | 81 |
<constructor-arg name="name" value="mdq_metadata_rightsHolder_s" /> |
82 | 82 |
<constructor-arg name="xpath" |
83 |
value="//result[/check/id[text() = 'check.echo.funder.1']]/output" />
|
|
83 |
value="//metadata/rightsHolder" />
|
|
84 | 84 |
<property name="multivalue" value="false" /> |
85 | 85 |
</bean> |
86 | 86 |
|
Also available in: Unified diff
correct xpath an solr settings for funder field