-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added countryLabel to solr index and consolidation, code refactoring
- Loading branch information
GordeaS
authored and
GordeaS
committed
Apr 2, 2024
1 parent
0a9e6da
commit eaaac39
Showing
35 changed files
with
515 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 23 additions & 21 deletions
44
...itions/src/main/java/eu/europeana/entitymanagement/vocabulary/OrganizationSolrFields.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
package eu.europeana.entitymanagement.vocabulary; | ||
|
||
/* | ||
* TODO: define the constant for the fields countryMap and address | ||
/** | ||
* Constants for solr field names | ||
*/ | ||
public interface OrganizationSolrFields extends EntitySolrFields { | ||
|
||
public static final String EXTENSION_ALL = DYNAMIC_FIELD_SEPARATOR + "*"; | ||
public static final String DC_DESCRIPTION = "dc_description"; | ||
public static final String DC_DESCRIPTION_ALL = "dc_description" + EXTENSION_ALL; | ||
public static final String EDM_ACRONYM = "edm_acronym"; | ||
public static final String EDM_ACRONYM_ALL = EDM_ACRONYM + EXTENSION_ALL; | ||
public static final String FOAF_LOGO = "foaf_logo"; | ||
public static final String FOAF_HOMEPAGE = "foaf_homepage"; | ||
public static final String FOAF_PHONE = "foaf_phone"; | ||
public static final String FOAF_MBOX = "foaf_mbox"; | ||
public static final String EUROPEANA_ROLE = "europeanaRole"; | ||
public static final String COUNTRY = "country"; | ||
public static final String VCARD_HAS_ADDRESS = "vcard_hasAddress.1"; | ||
public static final String VCARD_STREET_ADDRESS = "vcard_streetAddress.1"; | ||
public static final String VCARD_LOCALITY = "vcard_locality.1"; | ||
public static final String VCARD_REGION = "vcard_region.1"; | ||
public static final String VCARD_POSTAL_CODE = "vcard_postalCode.1"; | ||
public static final String VCARD_COUNTRYNAME = "vcard_countryName.1"; | ||
public static final String VCARD_POST_OFFICE_BOX = "vcard_postOfficeBox.1"; | ||
public static final String VCARD_HAS_GEO = "hasGeo"; | ||
String EXTENSION_ALL = DYNAMIC_FIELD_SEPARATOR + "*"; | ||
String DC_DESCRIPTION = "dc_description"; | ||
String DC_DESCRIPTION_ALL = "dc_description" + EXTENSION_ALL; | ||
String EDM_ACRONYM = "edm_acronym"; | ||
String EDM_ACRONYM_ALL = EDM_ACRONYM + EXTENSION_ALL; | ||
String FOAF_LOGO = "foaf_logo"; | ||
String FOAF_HOMEPAGE = "foaf_homepage"; | ||
String FOAF_PHONE = "foaf_phone"; | ||
String FOAF_MBOX = "foaf_mbox"; | ||
String EUROPEANA_ROLE = "europeanaRole"; | ||
String COUNTRY = "country"; | ||
String COUNTRY_LABEL = "countryLabel"; | ||
String COUNTRY_LABEL_ALL = "countryLabel" + EXTENSION_ALL; | ||
String VCARD_HAS_ADDRESS = "vcard_hasAddress.1"; | ||
String VCARD_STREET_ADDRESS = "vcard_streetAddress.1"; | ||
String VCARD_LOCALITY = "vcard_locality.1"; | ||
String VCARD_REGION = "vcard_region.1"; | ||
String VCARD_POSTAL_CODE = "vcard_postalCode.1"; | ||
String VCARD_COUNTRYNAME = "vcard_countryName.1"; | ||
String VCARD_POST_OFFICE_BOX = "vcard_postOfficeBox.1"; | ||
String VCARD_HAS_GEO = "hasGeo"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.