Upgrade Fusion Server 4.1.x to 4.2.y
4.1.x
4.2.y
/opt/lucidworks/fusion/4.1.x/var/upgrade
directory (on Unix or MacOS) or the C:\lucidworks\fusion\4.1.*x\var\upgrade\
directory (on Windows). The file names reference the versions you are upgrading from and to. For example:4.1.3
to 4.2.5
, the migrator uses the 4.1.x-4.2.x.properties
file.4.0.y
. This step requires an Internet connection. If no connection is available, then download the connectors from Fusion 4.x Connector Downloads](/fusion-connectors/5e5d7o/fusion-4-x-connector-downloads) and [install them as bootstrap plugins.If a connector to be upgraded was not available during the upgrade, then a message in /opt/lucidworks/fusion/3.1.x/var/upgrade/tmp/migrator.log
(on Unix) or C:\lucidworks\fusion\3.1.*x\var\upgrade\tmp\migrator.log
(on Windows) indicates this.Only datasources for connectors that are supported in the new Fusion version are upgraded. Datasources for custom connectors are not upgraded.apps/connectors/bootstrap-plugins
for the new deployment (on all Fusion nodes). Do so at the time indicated in the procedures that follow.apps/connectors/bootstrap-plugins
for the new version (on all Fusion nodes).api
)proxy
)license.properties
file in the /opt/lucidworks/fusion/4.1.x/conf
directory./opt/lucidworks/fusion/4.1.x
, then change your working directory to /opt/lucidworks/
and extract the file there. do not run the new version of Fusion yet.license.properties
file in the /opt/lucidworks/fusion/4.2.y/conf
directory.jar
files) If your deployment has custom jar
files, add them to the new Fusion deployment.apps/connectors/bootstrap-plugins
for the new deployment.apps/connectors/bootstrap-plugins
for the new deployment.fusion/4.1.x/data/solr
. If there is not sufficient disc space, free up space before proceeding.FUSION_OLD
and FUSION_NEW
environment variables that point to the old and new Fusion installation directories respectively (using the full path).
$FUSION_OLD/bin/fusion status
.fusion/4.1.x/var/upgrade/tmp
directory. If the migration produces unexpected results, the files in this directory are helpful for troubleshooting.fusion.properties
):
admin
password is the same as for the old installation), and confirm the release number of the new version of Fusion:
http://localhost:8764/
(replace localhost
with your server name or IP address if necessary).fusion/4.1.x/
directory, you can rm -fr fusion/4.1.*x/
to remove the older version of Fusion (on all Fusion nodes).add-rule-objects-xyz.zip
file (where xyz
is a version number) specifies the objects to add to an app. It is supplied in the Fusion migrator zip file at the top level. After installing the migrator, the location is $FUSION_OLD/var/upgrade/import-files
.add-rule-objects-xyz.zip
file into the app.How to import business rule objectsadd-rule-objects-xyz.zip
from your local filesystem. The location in the extracted migrator files is $FUSION_OLD/var/upgrade/import-files
.Application ID
parameter value to use the app name. If the app name contains spaces, replace those with underscore characters. For example, Lucene Revolution
would become Lucene_Revolution
.add-rule-objects-xyz.zip
file into the app.How to import business rule objectsapp-name.txt
file with the following content:
Lucene Revolution
:
$HOME
environment variable is defined.api
)proxy
)license.properties
file in the C:\lucidworks\fusion\4.1.x\conf
directory.fusion-4.2.y.zip
file to the directory that contains the fusion\
directory.
For example, if Fusion is installed in C:\lucidworks\fusion\4.1.x
, then move the file to C:\lucidworks
.fusion-4.2.y.zip
file. do not run the new version of Fusion yet.license.properties
file in the C:\lucidworks\fusion\4.2.y\conf
directory.jar
files) If your deployment has custom jar
files, add them to the new Fusion deployment.apps\connectors\bootstrap-plugins
for the new deployment.apps\connectors\bootstrap-plugins
for the new deployment.fusion\4.1.x\data\solr
. If there is not sufficient disc space, free up space before proceeding.FUSION_OLD
and FUSION_NEW
environment variables that point to the old and new Fusion installation directories respectively. For example:
fusion\4.1.x\var\upgrade
directory.+fusion\+4.1.x\var\upgrade
.%FUSION_OLD%\bin\fusion status
.solr-address
and solr-port
as appropriate (as shown in the example):
+fusion\+4.1.x\var\upgrade\tmp
directory. If the migration produces unexpected results, the files in this directory are helpful for troubleshooting.admin
password is the same as for the old installation), and confirm the release number of the new version of Fusion:
http://localhost:8764/
(replace localhost
with your server name or IP address if necessary).+fusion\+4.1.x
directory, you can remove the older version of Fusion by removing that directory (on all Fusion nodes).add-rule-objects-xyz.zip
file (where xyz
is a version number) specifies the objects to add to an app. It is supplied in the Fusion migrator zip file at the top level. After installing the migrator, the location is %FUSION_OLD%\var\upgrade\import-files\
.You have a choice. You can update each app using the Fusion UI or the Fusion API.add-rule-objects-xyz.zip
file into the app.How to import business rule objectsadd-rule-objects-xyz.zip
from your local filesystem. The location in the extracted migrator files is %FUSION_OLD%\var\upgrade\import-files\
.Application ID
parameter value to use the app name. If the app name contains spaces, replace those with underscore characters. For example, Lucene Revolution
would become Lucene_Revolution
.add-rule-objects-xyz.zip
file into the app.How to import business rule objectsapp-name.txt
file with the following content:
Lucene Revolution
:
%HOMEPATH%
environment variable is defined.ipad case
is rewritten as “ipad case”~10^2
, meaning if ipad
and case
appear within 10 terms (whitespace-delimited tokens) of each other, then boost the result by a factor of 2.
Phrases are applied in the Text Tagger stage of the query pipeline.
See Phrase Detection to learn how to review, edit, create, and publish phrases.
Manage Collections in the Fusion UI
default
Solr cluster.If Fusion has multiple Solr clusters, choose from the list which cluster you want to associate your collection with.
The cluster must exist first.Television, TV
.=>
, like i-pod=>ipod
._query_rewrite_staging
As of Fusion 4.2, certain Spark jobs send their output to this collection. Rules are also written to this collection initially._query_rewrite
, where query pipelines can read it. See below for details._query_rewrite
This collection is optimized for high-volume traffic. Query pipelines can read from this collection to find rules, synonyms, spelling corrections, and more with which to rewrite queries and responses.query_rewrite_staging
to the _query_rewrite
collection only when they are approved (either automatically on the basis of their confidence scores or manually by a human reviewer) _and a Fusion user clicks Publish. The review
field value indicates whether a document will be published when the user clicks Publish:
review=auto | A job-generated document has a sufficiently high confidence score and is automatically approved for publication. |
review=pending | A job-generated document has an ambiguous confidence score and must be reviewed by a Fusion user. |
review=approved | A Fusion user has reviewed the document and approved it for publication. |
review=denied | A job-generated document has a low confidence score, or a Fusion user has reviewed and denied it for publication. |
review
field appears in the Status column._query_rewrite_staging
collection before deploying them to the _query_rewrite
collection.
Each app has a _rules_simulator
query profile, configured to use the _query_rewrite_staging
collection for query rewrites instead of the _query_rewrite
collection. This profile is created automatically whenever a new app is created.
_query_rewrite
collection. See Manage Collections in the Fusion UI for more information._query_rewrite_staging
collection in the case of the Fusion AI query rewriting Simulator._query_rewrite
collection. See Manage Collections in the Fusion UI for more information.Manage Collections in the Fusion UI
default
Solr cluster.If Fusion has multiple Solr clusters, choose from the list which cluster you want to associate your collection with.
The cluster must exist first.Television, TV
.=>
, like i-pod=>ipod
._query_rewrite_staging
collection. High-confidence results are automatically migrated from there to the _query_rewrite
collection, while ambiguous results remain in the staging collection until they are reviewed and approved. You can review job results in the Query Rewriting UI.
Query Rewrite Jobs Post-processing Cleanup
delete_lowConf_synonyms.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
id
field if applicable.
<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:synonym AND confidence: [0 TO 0.0005]</query></delete><commit/></root>
<root><delete><query>type:synonym</query></delete><commit/></root>
delete_lowConf_phrases.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:phrase AND confidence: [0 TO <insert value>]</query></delete><commit/></root>
<root><delete><query>type:phrase</query></delete><commit/></root>
delete_lowConf_misspellings.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.
<root><delete><query>type:spell AND confidence: [0 TO 0.5]</query></delete><commit/></root>
<root><delete><query>type:spell</query></delete><commit/></root>
delete_lowConf_headTail.json
file.
<your query_rewrite_staging collection name/update>
in the uri field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.<your query_rewrite_staging collection name/update>
in the ENDPOINT URI field. An example URI value for an app called DC_Large
would be DC_Large_query_rewrite_staging/update
.<root><delete><query>type:tail</query></delete><commit/></root>