Add: of-type modifier option in application.yaml (#363)
Co-authored-by: Alejandro Medina <amedina@cens.cl>
This commit is contained in:
@@ -22,6 +22,7 @@ public class AppProperties {
|
||||
private Boolean openapi_enabled = false;
|
||||
private Boolean mdm_enabled = false;
|
||||
private boolean advanced_lucene_indexing = false;
|
||||
private boolean enable_index_of_type = false;
|
||||
private Boolean allow_cascading_deletes = false;
|
||||
private Boolean allow_contains_searches = true;
|
||||
private Boolean allow_external_references = false;
|
||||
@@ -834,4 +835,12 @@ public class AppProperties {
|
||||
private Boolean quitWait = false;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean getEnable_index_of_type() {
|
||||
return enable_index_of_type;
|
||||
}
|
||||
|
||||
public void setEnable_index_of_type(boolean enable_index_of_type) {
|
||||
this.enable_index_of_type = enable_index_of_type;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,6 +178,7 @@ public class FhirServerConfigCommon {
|
||||
modelConfig.setNormalizedQuantitySearchLevel(appProperties.getNormalized_quantity_search_level());
|
||||
|
||||
modelConfig.setIndexOnContainedResources(appProperties.getEnable_index_contained_resource());
|
||||
modelConfig.setIndexIdentifierOfType(appProperties.getEnable_index_of_type());
|
||||
return modelConfig;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user