Updating or Replacing Models

English Query

English Query

Updating or Replacing Models

Existing models can be replaced with a new one by simply copying the new model file over the old one. This has no effect on existing user sessions; they continue to use the old version.

For example, as system administrator you are given a new model file to replace or update an existing model. A server is running English Query with multiple models loaded and multiple user sessions attached to each domain. Each new session attaching to the model receives the new version of the model (with the first new session causing the new version model to be loaded). When the last user session attached to the old version of the model is gone, the old version of the model is automatically unloaded.