File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
src/main/java/ca/uhn/fhir/jpa/starter Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ public enum BinaryStorageMode {
126126 private Map <String , RemoteSystem > remote_terminology_service = null ;
127127 private Boolean match_url_cache_enabled = false ;
128128 private Boolean index_storage_optimized = false ;
129+ private Boolean mark_resources_for_reindexing_upon_search_parameter_change = true ;
129130 private Integer reindex_thread_count = null ;
130131 private Integer expunge_thread_count = null ;
131132
@@ -811,6 +812,16 @@ public void setIndex_storage_optimized(boolean theIndex_storage_optimized) {
811812 index_storage_optimized = theIndex_storage_optimized ;
812813 }
813814
815+ public Boolean getMark_resources_for_reindexing_upon_search_parameter_change () {
816+ return mark_resources_for_reindexing_upon_search_parameter_change ;
817+ }
818+
819+ public void setMark_resources_for_reindexing_upon_search_parameter_change (
820+ Boolean mark_resources_for_reindexing_upon_search_parameter_change ) {
821+ this .mark_resources_for_reindexing_upon_search_parameter_change =
822+ mark_resources_for_reindexing_upon_search_parameter_change ;
823+ }
824+
814825 public Integer getReindex_thread_count () {
815826 return reindex_thread_count ;
816827 }
Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) {
190190 jpaStorageSettings .setSchedulingDisabled (!appProperties .getDao_scheduling_enabled ());
191191 jpaStorageSettings .setIndexStorageOptimized (appProperties .getIndex_storage_optimized ());
192192 jpaStorageSettings .setMatchUrlCacheEnabled (appProperties .getMatch_url_cache_enabled ());
193+ jpaStorageSettings .setMarkResourcesForReindexingUponSearchParameterChange (
194+ appProperties .getMark_resources_for_reindexing_upon_search_parameter_change ());
193195 jpaStorageSettings .setDeleteEnabled (appProperties .getDelete_enabled ());
194196 jpaStorageSettings .setDeleteExpungeEnabled (appProperties .getDelete_expunge_enabled ());
195197 jpaStorageSettings .setExpungeEnabled (appProperties .getExpunge_enabled ());
You can’t perform that action at this time.
0 commit comments