Project

General

Profile

« Previous | Next » 

Revision 7490

PARC, OBFS, NRS: use only the paths that are indexed by default in metacat.properties. If deployments want to cusotmize these, they are free to do so, but we should ship skins that match the paths we index with a vanilla installation.

View differences:

lib/style/skins/parc/search.js
40 40
            	+"<querygroup operator=\"UNION\">"
41 41
	                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
42 42
	                    +"<value>Palmyra Atoll Research Consortium</value>"
43
	                    +"<pathexpr>/eml/dataset/creator/organizationName</pathexpr>"
43
	                    +"<pathexpr>creator/organizationName</pathexpr>"
44 44
	                +"</queryterm>"
45 45
                +"</querygroup>"
46 46
                +"<querygroup operator=\"UNION\">"
47 47
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
48 48
                        +"<value>" + searchString + "</value>"
49
                        +"<pathexpr>/eml/dataset/creator/individualName/surName</pathexpr>"
49
                        +"<pathexpr>creator/individualName/surName</pathexpr>"
50 50
                    +"</queryterm>"
51 51
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
52 52
                        +"<value>" + searchString + "</value>"
53
                        +"<pathexpr>/eml/dataset/creator/individualName/givenName</pathexpr>"
53
                        +"<pathexpr>creator/individualName/givenName</pathexpr>"
54 54
                    +"</queryterm>"
55 55
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
56 56
                        +"<value>" + searchString + "</value>"
57
                        +"<pathexpr>/eml/dataset/keywordSet/keyword</pathexpr>"
57
                        +"<pathexpr>keyword</pathexpr>"
58 58
                    +"</queryterm>"
59 59
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
60 60
	                    +"<value>" + searchString + "</value>"
61
	                    +"<pathexpr>/eml/dataset/keywordSet/keyword/value</pathexpr>"
61
	                    +"<pathexpr>keyword/value</pathexpr>"
62 62
	                +"</queryterm>"
63 63
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
64 64
                        +"<value>" + searchString + "</value>"
......
66 66
                    +"</queryterm>"
67 67
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
68 68
                        +"<value>" + searchString + "</value>"
69
                        +"<pathexpr>/eml/dataset/coverage/geographicCoverage/geographicDescription</pathexpr>"
69
                        +"<pathexpr>geographicDescription</pathexpr>"
70 70
                    +"</queryterm>"
71 71
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
72 72
                        +"<value>" + searchString + "</value>"
......
74 74
                    +"</queryterm>"
75 75
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
76 76
                        +"<value>" + searchString + "</value>"
77
                        +"<pathexpr>/eml/dataset/title</pathexpr>"
77
                        +"<pathexpr>dataset/title</pathexpr>"
78 78
                    +"</queryterm>"
79 79
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
80 80
	                    +"<value>" + searchString + "</value>"
81
	                    +"<pathexpr>/eml/dataset/title/value</pathexpr>"
81
	                    +"<pathexpr>dataset/title/value</pathexpr>"
82 82
	                +"</queryterm>"
83 83
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84 84
                        +"<value>" + searchString + "</value>"
85
                        +"<pathexpr>/eml/@packageId</pathexpr>"
85
                        +"<pathexpr>@packageId</pathexpr>"
86 86
                    +"</queryterm>"
87 87
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88 88
                        +"<value>" + searchString + "</value>"
89
                        +"<pathexpr>/eml/dataset/abstract/para</pathexpr>"
89
                        +"<pathexpr>abstract/para</pathexpr>"
90 90
                    +"</queryterm>"
91 91
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
92 92
                    +"<value>" + searchString + "</value>"
93
                    +"<pathexpr>/eml/dataset/abstract/para/value</pathexpr>"
93
                    +"<pathexpr>abstract/para/value</pathexpr>"
94 94
                +"</queryterm>"
95 95
                +"</querygroup>"
96 96
            +"</querygroup>"
......
128 128
                +"<querygroup operator=\"UNION\">"
129 129
	                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
130 130
	                    +"<value>Palmyra Atoll Research Consortium</value>"
131
	                    +"<pathexpr>/eml/dataset/creator/organizationName</pathexpr>"
131
	                    +"<pathexpr>creator/organizationName</pathexpr>"
132 132
	                +"</queryterm>"
133 133
                +"</querygroup>"
134 134
                + queryTermString
lib/style/skins/obfs/index.jsp
105 105
                                                                        +"</queryterm>"
106 106
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107 107
                                                                                +"<value>" + searchString + "</value>"
108
                                                                         +"<pathexpr>para</pathexpr>"
108
																				+"<pathexpr>para</pathexpr>"
109 109
                                                                        +"</queryterm>"
110 110
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
111 111
                                                                                +"<value>" + searchString + "</value>"
......
117 117
                                                                        +"</queryterm>"
118 118
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
119 119
                                                                                +"<value>" + searchString + "</value>"
120
                                                                                +"<pathexpr>title</pathexpr>"
120
                                                                                +"<pathexpr>dataset/title</pathexpr>"
121 121
                                                                        +"</queryterm>"
122 122
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
123 123
                                                                                +"<value>" + searchString + "</value>"
124
                                                                                +"<pathexpr>title/value</pathexpr>"
124
                                                                                +"<pathexpr>dataset/title/value</pathexpr>"
125 125
                                                                        +"</queryterm>"
126 126
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
127 127
                                                                                +"<value>" + searchString + "</value>"
lib/style/skins/nrs/index.jsp
117 117
									+"</queryterm>"
118 118
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
119 119
							     			+"<value>" + searchString + "</value>"
120
							     			+"<pathexpr>title</pathexpr>"
120
							     			+"<pathexpr>dataset/title</pathexpr>"
121 121
									+"</queryterm>"
122 122
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
123 123
							     			+"<value>" + searchString + "</value>"
124
							     			+"<pathexpr>title/value</pathexpr>"
124
							     			+"<pathexpr>dataset/title/value</pathexpr>"
125 125
									+"</queryterm>"
126 126
                                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
127 127
                                            +"<value>" + searchString + "</value>"

Also available in: Unified diff