Smile CDR v2024.05.PRE
On this page:

42.12.1smileutil: Reindex Terminology

 

The reindex-terminology command may be used to recreate the freetext indexes for terminology resources.

42.12.2Usage

 
bin/smileutil reindex-terminology -v "r4" -t "http://localhost:8000" 

In the example above, http://localhost:8000/ is the FHIR endpoint providing freetext search capability

42.12.3Options

 
  • -t [endpoint] – The FHIR endpoint providing freetext search capability.
  • -v [version] (or --fhir-version [version]) – (optional) The version of FHIR supported by the server.
  • -b [username:password] (or --basic-auth [username:password]) – (optional) If specified, provides a username and password that will be supplied to the server in an HTTP Basic Authorization header in the form of "username:password". If the value supplied is "PROMPT", smileutil will prompt the user to enter credentials interactively.
  • --bearer-token [token](optional) If specified, provides a bearer token that will be supplied to the server in an HTTP Authorization header. If the value supplied is "PROMPT", smileutil will prompt the user to enter a bearer token interactively.
  • --tls-auth [filename](optional) If specified, this parameter supplies a path and filename for a Smile Util TLS JSON Authentication File that will be used to authenticate target FHIR server endpoints secured through HTTPS.