Add: of-type modifier option in application.yaml (#363)

Co-authored-by: Alejandro Medina <amedina@cens.cl>
This commit is contained in:
Alejandro Medina
2022-05-06 12:25:51 -04:00
committed by GitHub
parent fdfa6fd711
commit 91e4105fd8
3 changed files with 11 additions and 0 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}