cached time readme

This commit is contained in:
saolberg
2021-05-27 16:24:19 -03:00
parent f44a6feb44
commit 36916b71ad
2 changed files with 6 additions and 0 deletions

View File

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