Revision 10126
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_s" /> |
|
74 |
<constructor-arg name="name" value="mdq_metadata_funder_sm" />
|
|
75 | 75 |
<constructor-arg name="xpath" |
76 |
value="//result[check/id[text() = 'check.echo.funder.1']]/output" /> |
|
77 |
<property name="multivalue" value="false" /> |
|
76 |
value="//result[check/id[text() = 'check.echo.funder.1']]/output/text()" /> |
|
77 |
<property name="multivalue" value="true" /> |
|
78 |
<property name="dedupe" value="true" /> |
|
78 | 79 |
</bean> |
79 | 80 |
|
80 | 81 |
<bean id="mdq.metadata.rightsHolder" class="org.dataone.cn.indexer.parser.SolrField"> |
Also available in: Unified diff
use text() in xpath for multi-valued funder extraction