Skip to content

Commit bb3b2b1

Browse files
authored
Merge pull request #142 from soay/devel
add pid, ciation_url and further_info_url to list of fields that shou…
2 parents 0b4cf59 + ef70165 commit bb3b2b1

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/java/main/esg/search/config/projects.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mapping file for CMIP5 projects
1+
# mapping file for projects
22
cmip3:CMIP3
33
cmip4:CMIP4
44
cmip5:CMIP5
@@ -13,3 +13,5 @@ pmip3:PMIP3
1313
geomip:GeoMIP
1414
euclipse:EUCLIPSE
1515
cordex:CORDEX
16+
cordex-reklies:CORDEX-Reklies
17+
cordex-esd:CORDEX-ESD

src/java/main/esg/search/query/api/QueryParameters.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class QueryParameters {
5252
final public static String FIELD_MIN_VERSION = "min_version";
5353
final public static String FIELD_SCORE = "score";
5454
final public static String FIELD_UNITS = "units";
55-
55+
5656
final public static String FIELD_CHECKSUM = "checksum";
5757
final public static String FIELD_CHECKSUM_TYPE = "checksum_type";
5858
final public static String FIELD_INDEX_NODE = "index_node";
@@ -63,7 +63,12 @@ public class QueryParameters {
6363
final public static String FIELD_DATETIME_START = "datetime_start";
6464
final public static String FIELD_DATETIME_STOP = "datetime_stop";
6565
final public static String FIELD_TEXT = "text";
66-
66+
67+
// metadata fields for CMIP6
68+
final public static String FIELD_PID = "pid";
69+
final public static String FIELD_CITATION_URL = "citation_url";
70+
final public static String FIELD_FURTHER_INFO_URL = "further_info_url";
71+
6772
// special query fields for open search geo extension
6873
public final static String FIELD_BBOX ="bbox"; // west, south, east, north
6974
public final static String FIELD_LAT ="lat";
@@ -118,7 +123,8 @@ public class QueryParameters {
118123
FIELD_VARIABLE_UNITS,
119124
FIELD_GEO, FIELD_GEO_UNITS,
120125
FIELD_TIMESTAMP_, FIELD_VERSION_,
121-
FIELD_SCORE, FIELD_UNITS
126+
FIELD_SCORE, FIELD_UNITS,
127+
FIELD_PID, FIELD_CITATION_URL, FIELD_FURTHER_INFO_URL
122128
});
123129

124130

0 commit comments

Comments
 (0)