Revision 10148
Added by ben leinfelder about 8 years ago
metacat-index/src/main/resources/application-context-mdq.xml | ||
---|---|---|
60 | 60 |
<bean id="mdq.metadata.formatId" class="org.dataone.cn.indexer.parser.SolrField"> |
61 | 61 |
<constructor-arg name="name" value="mdq_metadata_formatId_s" /> |
62 | 62 |
<constructor-arg name="xpath" |
63 |
value="//metadata/formatId" />
|
|
63 |
value="//result[check/id[text() = 'check.echo.formatId.1']]/output/text()" />
|
|
64 | 64 |
<property name="multivalue" value="false" /> |
65 | 65 |
</bean> |
66 | 66 |
|
67 | 67 |
<bean id="mdq.metadata.datasource" class="org.dataone.cn.indexer.parser.SolrField"> |
68 | 68 |
<constructor-arg name="name" value="mdq_metadata_datasource_s" /> |
69 | 69 |
<constructor-arg name="xpath" |
70 |
value="//metadata/datasource" />
|
|
70 |
value="//result[check/id[text() = 'check.echo.datasource.1']]/output/text()" />
|
|
71 | 71 |
<property name="multivalue" value="false" /> |
72 | 72 |
</bean> |
73 | 73 |
|
... | ... | |
82 | 82 |
<bean id="mdq.metadata.rightsHolder" class="org.dataone.cn.indexer.parser.SolrField"> |
83 | 83 |
<constructor-arg name="name" value="mdq_metadata_rightsHolder_s" /> |
84 | 84 |
<constructor-arg name="xpath" |
85 |
value="//metadata/rightsHolder" />
|
|
85 |
value="//result[check/id[text() = 'check.echo.rightsHolder.1']]/output/text()" />
|
|
86 | 86 |
<property name="multivalue" value="false" /> |
87 | 87 |
</bean> |
88 | 88 |
|
Also available in: Unified diff
extract "metadata" fields from result output now rather than dedicated fields in the model