Revision 44906
Added by Claudio Atzori over 7 years ago
2-8b9503d9-8a86-4330-93ef-7e0cd9bc87c2.xml | ||
---|---|---|
154 | 154 |
xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree//funding_level_2/description" stat="false" |
155 | 155 |
indexable="true" result="false"/> |
156 | 156 |
<!-- PROJECTS' FUNDER FIELDS: indexable only with the new funding path/context handling --> |
157 |
|
|
158 |
<FIELD name="funder" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder" |
|
159 |
value="dnet:join(./id/text(), '||', dnet:join(./name/text(), '||', ./shortname/text()))" |
|
160 |
tokenizable="false" indexable="true" result="false" stat="false"/> |
|
161 |
|
|
157 | 162 |
<FIELD name="funderid" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/id" tokenizable="false" |
158 | 163 |
indexable="true" result="false" stat="false"/> |
159 | 164 |
<FIELD name="fundershortname" xpath="//*[local-name()='entity']/*[local-name()='project']/fundingtree/funder/shortname" |
... | ... | |
238 | 243 |
<FIELD name="relperson" xpath="//*[local-name()='entity']/*//rel[./to/@type='person']/fullname" stat="false" indexable="true" |
239 | 244 |
result="false"/> |
240 | 245 |
|
241 |
<FIELD name="relprojectid" xpath="//*[local-name()='entity']/*//rel/to[@type='project']"
|
|
246 |
<FIELD name="relproject" xpath="//*[local-name()='entity']/*//rel/to[@type='project']" |
|
242 | 247 |
value="dnet:join(./text(), '||', dnet:pickFirst(../acronym/text(), ../title/text()))" |
243 | 248 |
tokenizable="false" stat="false" result="false" indexable="true" /> |
244 | 249 |
|
245 |
<FIELD name="relproject" xpath="//*[local-name()='entity']/*//rel/to[@type='project']" tokenizable="false" stat="false" result="false" |
|
250 |
<FIELD name="relprojectid" xpath="//*[local-name()='entity']/*//rel/to[@type='project']" tokenizable="false" stat="false" result="false"
|
|
246 | 251 |
indexable="true" /> |
247 | 252 |
|
248 | 253 |
<FIELD name="relprojectcode" xpath="//*[local-name()='entity']/*//rel[to/@type='project']/code" stat="false" result="false" |
... | ... | |
284 | 289 |
|
285 | 290 |
<!-- PROJECTS' FUNDER FIELDS: indexable only with the new funding path/context handling --> |
286 | 291 |
|
287 |
<FIELD name="relfunder" xpath="//*[local-name()='entity']//rel/funding/funder" value="dnet:join(@id, '||', dnet:join(@shortname, '||', @name))"
|
|
292 |
<FIELD name="relfunder" xpath="//*[local-name()='entity']//rel/funding/funder" value="dnet:join(@id, '||', dnet:join(@name, '||', @shortname))"
|
|
288 | 293 |
tokenizable="false" indexable="true" result="false" stat="false"/> |
289 | 294 |
<FIELD name="relfunderid" xpath="//*[local-name()='entity']//rel/funding/funder/@id" tokenizable="false" indexable="true" result="false" |
290 | 295 |
stat="false"/> |
... | ... | |
307 | 312 |
<FIELD name="dateofcollection" value="//header/*[local-name()='dateOfCollection']" type="date" stat="false" result="false" |
308 | 313 |
indexable="true" multivalued="false"/> |
309 | 314 |
|
310 |
|
|
311 |
<FIELD name="collectedfromdatasourceid" xpath="//*[local-name()='entity']/*/*[local-name()='collectedfrom']" |
|
315 |
<FIELD name="collectedfrom" xpath="//*[local-name()='entity']/*/*[local-name()='collectedfrom']" |
|
312 | 316 |
value="dnet:join(./@id, '||', ./@name)" tokenizable="false" stat="false" result="false" indexable="true" /> |
313 | 317 |
|
314 |
<FIELD name="collectedfromid" xpath="//*[local-name()='entity']/*/*[local-name()='collectedfrom']/@id" tokenizable="false"
|
|
315 |
indexable="true" result="false" stat="false"/>
|
|
318 |
<FIELD name="collectedfromdatasourceid" xpath="//*[local-name()='entity']//*[local-name()='collectedfrom']/@id"
|
|
319 |
indexable="true" result="false" stat="false" tokenizable="false"/>
|
|
316 | 320 |
|
317 | 321 |
<FIELD name="collectedfromname" xpath="//*[local-name()='entity']/*/*[local-name()='collectedfrom']/@name" tokenizable="false" |
318 | 322 |
indexable="true" result="false" stat="false"/> |
... | ... | |
341 | 345 |
<FIELD name="contextname" xpath="//*[local-name()='entity']/*[local-name()='result']/context/@label" tokenizable="false" |
342 | 346 |
indexable="true" result="false" stat="false"/> |
343 | 347 |
<!-- Need spaecial fields for community (research initiative) context in order to exclude funders from the context browse --> |
344 |
<FIELD name="communityid"
|
|
348 |
<FIELD name="community" |
|
345 | 349 |
xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']" value="dnet:join(@id, '||', @label)" |
346 | 350 |
tokenizable="false" indexable="true" result="false" stat="false" /> |
347 |
|
|
351 |
|
|
348 | 352 |
<FIELD name="communityname" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']/@label" |
349 | 353 |
tokenizable="false" indexable="true" result="false" stat="false"/> |
350 | 354 |
|
351 |
<FIELD name="community" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']/@id" tokenizable="false" |
|
355 |
<FIELD name="communityid" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']/@id" tokenizable="false"
|
|
352 | 356 |
indexable="true" result="false" stat="false"/> |
353 | 357 |
|
354 | 358 |
<FIELD name="categoryid" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category/@id" tokenizable="false" |
Also available in: Unified diff
changes according to #2337#note-59