Project

General

Profile

« Previous | Next » 

Revision 39098

corrected tmid index field
added translation text to indexed fields

View differences:

EMF.xml
38 38
						<FIELD indexable="true" name="description" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='description']" />
39 39

  
40 40
						<!-- Transcription-specific indexed labels -->
41
						<FIELD indexable="true" name="inscriptiontext" result="false" stat="false" tokenizable="true" xpath="concat(//*[local-name()='transcription']/*[local-name()='text'], //*[local-name()='hasTranscription']/*[local-name()='text'])" />
41
						<FIELD indexable="true" name="inscriptiontext" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='transcription']/*[local-name()='text'] | //*[local-name()='hasTranscription']/*[local-name()='text']" />
42 42
						<FIELD indexable="true" name="paleographiccharacteristics" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='paleographicCharacteristics']" />
43 43
						<FIELD indexable="true" name="socialstatus" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='honorand']/@socialStatus" />
44 44
						<FIELD indexable="true" name="bibliography" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='bibliography']" />
......
47 47
						
48 48
						<!-- Translation-specific indexed labels -->
49 49
						<FIELD indexable="true" name="hastranslation" result="false" stat="false" tokenizable="false" xpath="boolean(//*[local-name()='hasTranslation']/*[local-name()='dnetResourceIdentifier'])"/>
50
						<FIELD indexable="true" name="translationtext" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='hasTranslation']/*[local-name()='text'] | //*[local-name()='translation']/*[local-name()='text']"/>
50 51
						
51 52
						<!-- Image-specific indexed labels -->
52 53
						<FIELD indexable="true" name="hasimage" result="false" stat="false" tokenizable="false" xpath="boolean(//*[local-name()='hasVisualRepresentation']/*[local-name()='dnetResourceIdentifier'])"/>
53 54
						
54 55
						<!-- Artifact-specific indexed labels -->
55
						<FIELD indexable="true" name="tmid" result="false" stat="false" tokenizable="false" multivalued="true" xpath="//*[local-name()='hasTmId']/*[local-name()='tmId']" />
56
						<FIELD indexable="true" name="tmid" multivalued="false" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='inscription']//*[local-name()='tmId']"/>
57
                        <FIELD indexable="true" name="alternateId" multivalued="true" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='inscription']//*[local-name()='alternateId']/@localId"/>
56 58
						<FIELD indexable="true" name="romanprovinceitalicregion" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='romanProvinceItalicRegion']" />
57 59
						<FIELD indexable="true" name="ancientfindspot" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='ancientFindSpot']" />
58
						<!-- <FIELD indexable="true" name="modernlocation" result="false" stat="false" tokenizable="true" xpath="concat(//*[local-name()='modernFindSpot'], ' ',//*[local-name()='modernCountry'],' ',//*[local-name()='modernRegion'],' ',//*[local-name()='modernProvince'])" /> -->
59 60
						<FIELD indexable="true" name="modernfindspot" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='modernFindSpot']" />
60 61
						<FIELD indexable="true" name="moderncountry" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='modernCountry']" />
61 62
						<FIELD indexable="true" name="modernregion" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='modernRegion']" />
62 63
						<FIELD indexable="true" name="modernprovince" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='modernProvince']" />
63
						<!-- <FIELD indexable="true" name="conservationlocation" result="false" stat="false" tokenizable="true" xpath="concat(//*[local-name()='conservationCountry'], ' ',//*[local-name()='conservationRegion'],' ',//*[local-name()='conservationCity'],' ',//*[local-name()='museum'])" /> -->
64 64
						<FIELD indexable="true" name="conservationcountry" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='conservationCountry']" />
65 65
						<FIELD indexable="true" name="conservationregion" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='conservationRegion']" />
66 66
						<FIELD indexable="true" name="conservationcity" result="false" stat="false" tokenizable="true" xpath="//*[local-name()='conservationCity']" />
......
97 97
						<FIELD indexable="true" name="writingtypevoc" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='engravingTechnique']/@uri" />
98 98
						<FIELD indexable="true" name="decorationvoc" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='decoration']/@uri" />
99 99
						<FIELD indexable="true" name="stateofpreservationvoc" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='stateOfPreservation']/@uri" />
100
						<!-- <FIELD indexable="true" name="datingvoc" result="false" stat="false" tokenizable="false" xpath="//*[local-name()='originDating']/@datingMethod" /> -->
101 100
						
102 101
						<!-- Whole metadata object # MUST BE THE ONLY ONE WITH RESULT='TRUE' # -->
103 102
						<FIELD indexable="false" name="eagleobject" result="true" stat="false" tokenizable="true" xpath="//*[local-name()='eagleObject']" />

Also available in: Unified diff