Revision 9332
Added by ben leinfelder about 9 years ago
metacat-index/src/main/resources/application-context-systemmeta100.xml | ||
---|---|---|
158 | 158 |
<bean class="org.dataone.cn.indexer.parser.SolrField"> |
159 | 159 |
<constructor-arg name="name" value="isPublic" /> |
160 | 160 |
<constructor-arg name="xpath" |
161 |
value="(//accessPolicy/allow[permission= 'read']/subject[text()='public']/text() | //accessPolicy/allow[permission= 'write']/subject[text()='public']/text() | //accessPolicy/allow[permission= 'changePermission']/subject[text()='public']/text() | //rightsHolder/text())[1]" />
|
|
161 |
value="(//accessPolicy/allow[permission= 'read']/subject[text()='public']/text() | //accessPolicy/allow[permission= 'write']/subject[text()='public']/text() | //accessPolicy/allow[permission= 'changePermission']/subject[text()='public']/text() | //rightsHolder[text()='public']/text())[1] />
|
|
162 | 162 |
<property name="converter" ref="booleanPublicConverter" /> |
163 | 163 |
</bean> |
164 | 164 |
<!-- <bean class="org.dataone.cn.indexer.parser.ResolveSolrField"> |
Also available in: Unified diff
fix xpath from CN changes for isPublic. https://redmine.dataone.org/issues/7374