Update to 5.6.0-PRE7_NIH-SNAPSHOT and activate advanced index

This commit is contained in:
Michael Buckley
2021-10-05 15:07:08 -04:00
parent 370d68a55c
commit ac75421a7b
4 changed files with 14 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir</artifactId>
<version>5.6.0-PRE5_NIH</version>
<version>5.6.0-PRE7_NIH-SNAPSHOT</version>
</parent>
<artifactId>hapi-fhir-jpaserver-starter</artifactId>

View File

@@ -23,6 +23,7 @@ public class AppProperties {
private Boolean cql_enabled = false;
private Boolean mdm_enabled = false;
private boolean advanced_lucene_indexing = false;
private Boolean allow_cascading_deletes = false;
private Boolean allow_contains_searches = true;
private Boolean allow_external_references = false;
@@ -206,6 +207,14 @@ public class AppProperties {
this.client_id_strategy = client_id_strategy;
}
public boolean getAdvanced_lucene_indexing() {
return this.advanced_lucene_indexing;
}
public void setAdvanced_lucene_indexing(boolean theAdvanced_lucene_indexing) {
advanced_lucene_indexing = theAdvanced_lucene_indexing;
}
public Boolean getAllow_cascading_deletes() {
return allow_cascading_deletes;
}

View File

@@ -120,6 +120,7 @@ public class FhirServerConfigCommon {
}
retVal.setFilterParameterEnabled(appProperties.getFilter_search_enabled());
retVal.setAdvancedLuceneIndexing(appProperties.getAdvanced_lucene_indexing());
return retVal;
}

View File

@@ -71,6 +71,8 @@ hapi:
# enable_repository_validating_interceptor: false
# enable_index_missing_fields: false
# enable_index_contained_resource: false
# advanced_lucene_indexing: false
advanced_lucene_indexing: true
# enforce_referential_integrity_on_delete: false
# enforce_referential_integrity_on_write: false
# etag_support_enabled: true