Project

General

Profile

« Previous | Next » 

Revision 5816

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

View differences:

header.jsp
63 63
                                                           +"<returnfield>originator/organizationName</returnfield>"
64 64
                                                           +"<returnfield>creator/organizationName</returnfield>"
65 65
                                                           +"<returnfield>dataset/title</returnfield>"
66
                                                           +"<returnfield>dataset/title/value</returnfield>"
66 67
                                                           +"<returnfield>keyword</returnfield>"
68
                                                           +"<returnfield>keyword/value</returnfield>"
67 69
                                                           +"<querygroup operator=\"INTERSECT\">"
68 70
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
69 71
                                                                        +"<value>University of California Natural Reserve System</value>"
......
83 85
                                                                                +"<pathexpr>keyword</pathexpr>"
84 86
                                                                        +"</queryterm>"
85 87
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88
	                                                                        +"<value>" + searchString + "</value>"
89
	                                                                        +"<pathexpr>keyword/value</pathexpr>"
90
	                                                                +"</queryterm>"
91
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
86 92
                                                                                +"<value>" + searchString + "</value>"
87 93
                                                                                +"<pathexpr>para</pathexpr>"
88 94
                                                                        +"</queryterm>"
......
99 105
                                                                                +"<pathexpr>title</pathexpr>"
100 106
                                                                        +"</queryterm>"
101 107
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
108
	                                                                        +"<value>" + searchString + "</value>"
109
	                                                                        +"<pathexpr>title/value</pathexpr>"
110
	                                                                +"</queryterm>"
111
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
102 112
                                                                                +"<value>" + searchString + "</value>"
103 113
                                                                                +"<pathexpr>@packageId</pathexpr>"
104 114
                                                                        +"</queryterm>"
......
106 116
                                                                                +"<value>" + searchString + "</value>"
107 117
                                                                                +"<pathexpr>abstract/para</pathexpr>"
108 118
                                                                        +"</queryterm>"
119
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
120
	                                                                        +"<value>" + searchString + "</value>"
121
	                                                                        +"<pathexpr>abstract/para/value</pathexpr>"
122
	                                                                +"</queryterm>"
109 123
                                                                +"</querygroup>"
110 124
                                                          +"</querygroup>"
111 125
                                                  +"</pathquery>";

Also available in: Unified diff