Add index storage optimized
This commit is contained in:
@@ -111,6 +111,7 @@ public class AppProperties {
|
|||||||
|
|
||||||
private Map<String, RemoteSystem> remote_terminology_service = null;
|
private Map<String, RemoteSystem> remote_terminology_service = null;
|
||||||
private Boolean match_url_cache_enabled = false;
|
private Boolean match_url_cache_enabled = false;
|
||||||
|
private Boolean index_storage_optimized = false;
|
||||||
|
|
||||||
public List<String> getCustomInterceptorClasses() {
|
public List<String> getCustomInterceptorClasses() {
|
||||||
return custom_interceptor_classes;
|
return custom_interceptor_classes;
|
||||||
@@ -753,6 +754,14 @@ public class AppProperties {
|
|||||||
match_url_cache_enabled = theMatchUrlCacheEnabled;
|
match_url_cache_enabled = theMatchUrlCacheEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getIndex_storage_optimized() {
|
||||||
|
return defaultIfNull(index_storage_optimized, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndex_storage_optimized(boolean theIndex_storage_optimized) {
|
||||||
|
index_storage_optimized = theIndex_storage_optimized;
|
||||||
|
}
|
||||||
|
|
||||||
public static class Cors {
|
public static class Cors {
|
||||||
private Boolean allow_Credentials = true;
|
private Boolean allow_Credentials = true;
|
||||||
private List<String> allowed_origin = List.of("*");
|
private List<String> allowed_origin = List.of("*");
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ public class FhirServerConfigCommon {
|
|||||||
jpaStorageSettings.setAllowMultipleDelete(appProperties.getAllow_multiple_delete());
|
jpaStorageSettings.setAllowMultipleDelete(appProperties.getAllow_multiple_delete());
|
||||||
jpaStorageSettings.setAllowExternalReferences(appProperties.getAllow_external_references());
|
jpaStorageSettings.setAllowExternalReferences(appProperties.getAllow_external_references());
|
||||||
jpaStorageSettings.setSchedulingDisabled(!appProperties.getDao_scheduling_enabled());
|
jpaStorageSettings.setSchedulingDisabled(!appProperties.getDao_scheduling_enabled());
|
||||||
|
jpaStorageSettings.setIndexStorageOptimized(appProperties.getIndex_storage_optimized());
|
||||||
jpaStorageSettings.setMatchUrlCacheEnabled(appProperties.getMatch_url_cache_enabled());
|
jpaStorageSettings.setMatchUrlCacheEnabled(appProperties.getMatch_url_cache_enabled());
|
||||||
jpaStorageSettings.setDeleteEnabled(appProperties.getDelete_enabled());
|
jpaStorageSettings.setDeleteEnabled(appProperties.getDelete_enabled());
|
||||||
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
|
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ hapi:
|
|||||||
# delete_expunge_enabled: true
|
# delete_expunge_enabled: true
|
||||||
# match_url_cache_enabled: false
|
# match_url_cache_enabled: false
|
||||||
# enable_repository_validating_interceptor: true
|
# enable_repository_validating_interceptor: true
|
||||||
|
### Reduce the size used by search indexes by not tagging every row with the resource type and parameter name (this setting makes manual inspection of the database more difficult, but does not impact HAPI FHIR functionality in any way)
|
||||||
|
# index_storage_optimized: false
|
||||||
# enable_index_missing_fields: false
|
# enable_index_missing_fields: false
|
||||||
# enable_index_of_type: true
|
# enable_index_of_type: true
|
||||||
# enable_index_contained_resource: false
|
# enable_index_contained_resource: false
|
||||||
|
|||||||
Reference in New Issue
Block a user