Project

General

Profile

« Previous | Next » 

Revision 5816

include 'value' translations when searching EML 2.1.1 (squery and query actions)

View differences:

index.jsp
78 78
                                	                   +"<returnfield>originator/organizationName</returnfield>"
79 79
                                        	           +"<returnfield>creator/organizationName</returnfield>"
80 80
                                                	   +"<returnfield>dataset/title</returnfield>"
81
                                                	   +"<returnfield>dataset/title/value</returnfield>"
81 82
	                                                   +"<returnfield>keyword</returnfield>"
83
	                                                   +"<returnfield>keyword/value</returnfield>"
82 84
        	                                           +"<querygroup operator=\"INTERSECT\">"
83 85
							   	+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84 86
                        	                           		+"<value>University of California Natural Reserve System</value>"
......
99 101
									+"</queryterm>"
100 102
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
101 103
							     			+"<value>" + searchString + "</value>"
104
							     			+"<pathexpr>keyword/value</pathexpr>"
105
									+"</queryterm>"
106
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107
							     			+"<value>" + searchString + "</value>"
102 108
							     			+"<pathexpr>para</pathexpr>"
103 109
									+"</queryterm>"
104 110
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
......
113 119
							     			+"<value>" + searchString + "</value>"
114 120
							     			+"<pathexpr>title</pathexpr>"
115 121
									+"</queryterm>"
116
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
117
                                                                                +"<value>" + searchString + "</value>"
118
                                                                                +"<pathexpr>@packageId</pathexpr>"
119
                                                                        +"</queryterm>"
120 122
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
121 123
							     			+"<value>" + searchString + "</value>"
124
							     			+"<pathexpr>title/value</pathexpr>"
125
									+"</queryterm>"
126
                                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
127
                                            +"<value>" + searchString + "</value>"
128
                                            +"<pathexpr>@packageId</pathexpr>"
129
                                    +"</queryterm>"
130
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
131
							     			+"<value>" + searchString + "</value>"
122 132
							     			+"<pathexpr>abstract/para</pathexpr>"
123 133
									+"</queryterm>"
134
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
135
							     			+"<value>" + searchString + "</value>"
136
							     			+"<pathexpr>abstract/para/value</pathexpr>"
137
									+"</queryterm>"
124 138
							   	+"</querygroup>"
125 139
							  +"</querygroup>"
126 140
						  +"</pathquery>";
......
148 162
                                                           +"<returnfield>originator/organizationName</returnfield>"
149 163
                                                           +"<returnfield>creator/organizationName</returnfield>"
150 164
                                                           +"<returnfield>dataset/title</returnfield>"
165
                                                           +"<returnfield>dataset/title/value</returnfield>"
151 166
                                                           +"<returnfield>keyword</returnfield>"
167
                                                           +"<returnfield>keyword/value</returnfield>"
152 168
                                                           +"<querygroup operator=\"INTERSECT\">"
153 169
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
154 170
                                                                        +"<value>University of California Natural Reserve System</value>"

Also available in: Unified diff