Skip to content

Commit

Permalink
add pid, ciation_url and further_info_url to list of fields that shou…
Browse files Browse the repository at this point in the history
…ld not be used as facets; add cordex related projects to projects.properties
  • Loading branch information
soay committed Jul 29, 2020
1 parent 54bc7c3 commit ef70165
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/java/main/esg/search/config/projects.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mapping file for CMIP5 projects
# mapping file for projects
cmip3:CMIP3
cmip4:CMIP4
cmip5:CMIP5
Expand All @@ -13,3 +13,5 @@ pmip3:PMIP3
geomip:GeoMIP
euclipse:EUCLIPSE
cordex:CORDEX
cordex-reklies:CORDEX-Reklies
cordex-esd:CORDEX-ESD
12 changes: 9 additions & 3 deletions src/java/main/esg/search/query/api/QueryParameters.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class QueryParameters {
final public static String FIELD_MIN_VERSION = "min_version";
final public static String FIELD_SCORE = "score";
final public static String FIELD_UNITS = "units";

final public static String FIELD_CHECKSUM = "checksum";
final public static String FIELD_CHECKSUM_TYPE = "checksum_type";
final public static String FIELD_INDEX_NODE = "index_node";
Expand All @@ -63,7 +63,12 @@ public class QueryParameters {
final public static String FIELD_DATETIME_START = "datetime_start";
final public static String FIELD_DATETIME_STOP = "datetime_stop";
final public static String FIELD_TEXT = "text";


// metadata fields for CMIP6
final public static String FIELD_PID = "pid";
final public static String FIELD_CITATION_URL = "citation_url";
final public static String FIELD_FURTHER_INFO_URL = "further_info_url";

// special query fields for open search geo extension
public final static String FIELD_BBOX ="bbox"; // west, south, east, north
public final static String FIELD_LAT ="lat";
Expand Down Expand Up @@ -118,7 +123,8 @@ public class QueryParameters {
FIELD_VARIABLE_UNITS,
FIELD_GEO, FIELD_GEO_UNITS,
FIELD_TIMESTAMP_, FIELD_VERSION_,
FIELD_SCORE, FIELD_UNITS
FIELD_SCORE, FIELD_UNITS,
FIELD_PID, FIELD_CITATION_URL, FIELD_FURTHER_INFO_URL
});


Expand Down

0 comments on commit ef70165

Please sign in to comment.