Project

General

Profile

« Previous | Next » 

Revision 3776

-add FGDC specifc fields for indexPath searching
-limit FGDC data returned for the NCEAS skin to those that have "placekey" fields containing "National Center for Ecological Analysis and Synthesis"

View differences:

lib/style/skins/nceas/search.js
43 43
	                    +"<pathexpr>organizationName</pathexpr>"
44 44
	                +"</queryterm>"
45 45
	                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
46
	                    +"<value>%</value>"
46
	                    //+"<value>%</value>"
47
	                    +"<value>National Center for Ecological Analysis and Synthesis</value>"	                    
47 48
	                    +"<pathexpr>placekey</pathexpr>"
48 49
	                +"</queryterm>"
49 50
                +"</querygroup>"
......
84 85
                        +"<value>" + searchString + "</value>"
85 86
                        +"<pathexpr>abstract/para</pathexpr>"
86 87
                    +"</queryterm>"
88
                    
89
                    //FGDC fields
90
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
91
                        +"<value>" + searchString + "</value>"
92
                        +"<pathexpr>abstract</pathexpr>"
93
                    +"</queryterm>"
94
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
95
                        +"<value>" + searchString + "</value>"
96
                        +"<pathexpr>idinfo/citation/citeinfo/title</pathexpr>"
97
                    +"</queryterm>"
98
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
99
                        +"<value>" + searchString + "</value>"
100
                        +"<pathexpr>idinfo/citation/citeinfo/origin</pathexpr>"
101
                    +"</queryterm>"
102
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
103
                        +"<value>" + searchString + "</value>"
104
                        +"<pathexpr>idinfo/keywords/theme/themekey</pathexpr>"
105
                    +"</queryterm>"
106
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107
                        +"<value>" + searchString + "</value>"
108
                        +"<pathexpr>idinfo/keywords/theme/placekey</pathexpr>"
109
                    +"</queryterm>"
87 110
                +"</querygroup>"
88 111
            +"</querygroup>"
89 112
            +"</pathquery>";
......
123 146
	                    +"<pathexpr>organizationName</pathexpr>"
124 147
	                +"</queryterm>"
125 148
	                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
126
	                    +"<value>%</value>"
149
	                    //+"<value>%</value>"
150
	                    +"<value>National Center for Ecological Analysis and Synthesis</value>"	                    
127 151
	                    +"<pathexpr>placekey</pathexpr>"
128 152
	                +"</queryterm>"
129 153
                +"</querygroup>"

Also available in: Unified diff