Add configuration flag to enable storing of resources in lucene index (#304)

* Add configuration flag to enable storing of resources in lucene index

* Fix build issue

* Fix code review suggestions

Co-authored-by: Jaison B <jaison.baskaran@smilecdr.com>
This commit is contained in:
Jaison B
2022-01-05 15:02:57 -07:00
committed by GitHub
parent 42e3e78bbc
commit 528d2bc087
6 changed files with 26 additions and 11 deletions

View File

@@ -42,6 +42,7 @@ import org.testcontainers.elasticsearch.ElasticsearchContainer;
"spring.datasource.url=jdbc:h2:mem:dbr4",
"hapi.fhir.fhir_version=r4",
"hapi.fhir.lastn_enabled=true",
"hapi.fhir.store_resource_in_lucene_index_enabled=true",
"elasticsearch.enabled=true",
// Because the port is set randomly, we will set the rest_url using the Initializer.
// "elasticsearch.rest_url='http://localhost:9200'",