Revision 10093
Added by ben leinfelder almost 8 years ago
metacat-index/src/main/resources/application-context-mdq.xml | ||
---|---|---|
29 | 29 |
<ref bean="mdq.score.interpretation" /> |
30 | 30 |
<ref bean="mdq.score.discovery" /> |
31 | 31 |
<ref bean="mdq.score.other" /> |
32 |
<ref bean="mdq.score.composite" /> |
|
32 | 33 |
</list> |
33 | 34 |
</property> |
34 | 35 |
</bean> |
... | ... | |
109 | 110 |
<property name="multivalue" value="false" /> |
110 | 111 |
</bean> |
111 | 112 |
|
113 |
<!-- the composite score --> |
|
114 |
<bean id="mdq.score.composite" class="org.dataone.cn.indexer.parser.SolrField"> |
|
115 |
<constructor-arg name="name" value="mdq_composite_d" /> |
|
116 |
<constructor-arg name="xpath" |
|
117 |
value="count(//result[check/level[text() != 'INFO']]/status[text() = 'SUCCESS']) div (count(//result) - count(//result/status[text() = 'SKIP'] | //result[check/level[text() = 'INFO']]))" /> |
|
118 |
<property name="multivalue" value="false" /> |
|
119 |
</bean> |
|
120 |
|
|
112 | 121 |
<!-- scoring by check.type --> |
113 | 122 |
<bean id="mdq.score.identification" class="org.dataone.cn.indexer.parser.SolrField"> |
114 | 123 |
<constructor-arg name="name" value="mdq_identification_d" /> |
Also available in: Unified diff
include mdq composite score