Smile CDR v2022.08.PRE
On this page:

35.10smileutil: Reindex Terminology

 

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

35.10.1Usage

 
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

35.10.2Options

 
  • -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.