Renamed field to spatial' to allow the Solr plugin to properly index

This commit is contained in:
Luca Frosini 2022-05-10 16:35:20 +02:00
parent 46b00cf1af
commit 91c0103dc5
1 changed files with 7 additions and 1 deletions

View File

@ -88,8 +88,14 @@ public class Constants {
public static final String SCIENTIFIC_ADVICE_JSON_KEY = "scientific_advice";
public static final String ASSESSOR_CUSTOM_KEY = "Assessor";
public static final String ASSESSOR_JSON_KEY = "assessor";
public static final String SPATIAL_GEOJSON_CUSTOM_KEY = "Geospatial";
// Must be 'spatial' to allow the Solr plugin to properly index large GeoJson
// The Key will be replaced in the language file to Geospatial as indicated in the wiki
// https://wiki.gcube-system.org/gcube/GCube_Data_Catalogue_for_GRSF#Common_Metadata
public static final String SPATIAL_GEOJSON_CUSTOM_KEY = "spatial";
public static final String SPATIAL_GEOJSON_JSON_KEY = "spatial";
public static final String FISHERY_URI = "fishery_uri";
public static final String STOCK_URI = "stock_uri";