Revision 48327
Added by Alessia Bardi almost 7 years ago
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/MDFormatDSResourceType/transformed-CIDOC.xml | ||
---|---|---|
22 | 22 |
<FIELD indexable="true" name="datasourceprefix" result="false" stat="false" xpath="//dri:datasourceprefix"/> |
23 | 23 |
<FIELD indexable="false" name="entity" result="true" stat="false" tokenizable="true" xpath="//*[local-name() = 'RDF']"/> |
24 | 24 |
<!-- identification --> |
25 |
<FIELD indexable="true" name="originalid" result="false" stat="false" tokenizable="false" xpath="//crm:P1_is_identified_by"/>
|
|
25 |
<FIELD indexable="true" name="originalid" result="false" stat="false" tokenizable="false" xpath="//dri:recordIdentifier"/>
|
|
26 | 26 |
<FIELD indexable="true" name="parthenosurl" result="false" stat="false" tokenizable="false" xpath="//crm:P1_is_identified_by/crm:E42_Identifier/@rdf:about"/> |
27 |
<!-- TODO: add index field for resource type as soon as we understand where it is -->
|
|
28 |
<FIELD indexable="true" name="type" result="false" stat="false" tokenizable="false" xpath="//rdf:RDF/*/rdf:type" value="substring-after(./@rdf:resource,'http://www.ics.forth.gr/isl/CRMext/CRMpe.rdfs/')"/>
|
|
27 |
<FIELD indexable="true" name="type" result="false" stat="false" tokenizable="false" xpath="//rdf:RDF/*/local-name()"/>
|
|
28 |
<FIELD indexable="true" name="rdftype" result="false" stat="false" tokenizable="false" xpath="//rdf:RDF/*/rdf:type/@rdf:resource" value="tokenize(.,'/')[last()]"/>
|
|
29 | 29 |
|
30 | 30 |
<!-- description --> |
31 |
<FIELD indexable="true" name="title" result="false" stat="false" xpath="//crm:P102_has_title"/> |
|
32 |
<FIELD indexable="true" name="subject" result="false" stat="false" xpath="//crm:P129_is_about/crm:E73_Information_Object/crm:P129_is_about"/> |
|
31 |
<FIELD indexable="true" name="title" result="false" stat="false" xpath="//crm:P102_has_title/crm:E35_Title/rdfs:label"/> |
|
33 | 32 |
<FIELD indexable="true" name="language" result="false" stat="false" tokenizable="false" xpath="//crm:P72_has_language"/> |
34 | 33 |
<FIELD indexable="true" name="note" result="false" stat="false" xpath="//crm:P3_has_note"/> |
34 |
|
|
35 | 35 |
<!-- TODO add fields for rels to other entities --> |
36 |
|
|
36 | 37 |
<!-- ERRORS IN CLEANING --> |
37 | 38 |
<FIELD indexable="true" name="cleaned" result="false" stat="false" tokenizable="false" type="boolean" value="not(//dri:error)"/> |
38 | 39 |
<FIELD header="true" indexable="false" name="cleaningErrors" result="false" stat="false" stored="true" tokenizable="false" xpath="//dri:invalid"/> |
39 | 40 |
<!-- Browsing Fields --> |
40 | 41 |
<FIELD browsingAliasFor="datasourcename" indexable="true" name="datasourcenameforbrowsing" result="false" stat="false" tokenizable="false" xpath="//dri:datasourcename"/> |
41 |
<FIELD browsingAliasFor="subject" indexable="true" name="subjectforbrowsing" result="false" stat="false" tokenizable="false" xpath="//crm:P129_is_about/crm:E73_Information_Object/crm:P129_is_about"/> |
|
42 | 42 |
</FIELDS> |
43 | 43 |
</LAYOUT> |
44 | 44 |
</LAYOUTS> |
Also available in: Unified diff
Updated index configuration