diff --git a/README.md b/README.md index 5572ac6..4c6af22 100644 --- a/README.md +++ b/README.md @@ -351,6 +351,11 @@ elasticsearch.schema_management_strategy=CREATE Set `hapi.fhir.lastn_enabled=true` in the [application.yaml](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml) file to enable the $lastn operation on this server. Note that the $lastn operation relies on Elasticsearch, so for $lastn to work, indexing must be enabled using Elasticsearch. +## Changing cached search results time + +It is possible to change the cached search results time. The option `reuse_cached_search_results_millis` in the [application.yaml] is 6000 miliseconds by default. +Set `reuse_cached_search_results_millis: -1` in the [application.yaml] file to ignore the cache time every search. + ## Build the distroless variant of the image (for lower footprint and improved security) The default Dockerfile contains a `release-distroless` stage to build a variant of the image diff --git a/docker-compose.yml b/docker-compose.yml index a53141d..c4ed2cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,3 +19,4 @@ services: - hapi-fhir-mysql:/var/lib/mysql volumes: hapi-fhir-mysql: +