Placeholder definitions
Placeholder | Description |
---|---|
FUSION_USERNAME | Your Fusion username. |
FUSION_PASSWORD | The password for your Fusion user. |
FUSION_BASE_URL | The URL of your Fusion instance including https:// . For example, https://FUSION_HOST.com . |
FUSION_APP_ID | The application ID of the Fusion app that contains your Predictive Merchandiser. This is the value of the id field, and may or may not match the name of the Fusion app. To obtain the ID, sign in to your Fusion instance. For example, FUSION_INSTANCE.com . Then also open a different browser window and enter https://FUSION_INSTANCE.com/api/apps . The id and name display for each valid Fusion app. The value in the id field is the value that needs to be used in this field. |
bash: ./precheck.sh: Permission denied
: 1. Make the script
executable: chmod +x precheck.sh
. 2. Run the script again.All pre-checks passed. No issues found.
Continue to retrieve list of objects in Predictive Merchandiser. If there are issues, the output returns a list of issues like the following:
precheck_results.json
and inspect each reported rule. If you created the rules, sign into Predictive Merchandiser and publish or revert the staged changes. If the unpublished rules were created by a different user, you cannot publish or revert the rules in the Predictive Merchandiser UI. There are a few options for resolving unpublished rules owned by another user:
Placeholder definitions
Placeholder | Description |
---|---|
WORKSPACE_ID | Your Lucidworks Platform workspace ID. You saved this value when you set up the integration. |
BEARER_TOKEN | The bearer token you copied from your browser’s developer console. |
EM_INSTANCE_NAME | What you want to name your Commerce Studio instance. |
FUSION_INSTANCE_ID | Your Fusion instance ID. You saved this value when you set up the integration. |
FUSION_APP | The ID of the Fusion app that contains your Predictive Merchandiser. This is the value of the id field, and may or may not match the name of the Fusion app. To obtain the ID, sign in to your Fusion instance. For example, FUSION_INSTANCE.com . Then also open a different browser window and enter https://FUSION_INSTANCE.com/api/apps . The id and name display for each valid Fusion app. The value in the id field is the value that needs to be used in this field. |
REGION | A valid region identifier where you want to create the Commerce Studio instance. Use us-southcarolina . |
Fusion app APP_NAME is not ready for Experience Manager
.
If you do, try running the command again. You may need to retry several times./em/
, for example, platform.lucidworks.com/applications/em/12a34567-b890-1245-cd67-8efg901234h5
. This is your EM_INSTANCE_ID
value.
EM_INSTANCE_ID
is the ID of your Commerce Studio instance. Your Commerce Studio instance is successfully created when the state
field contains the value COMPLETED
.
200
HTTP response code, and the state
field contains the value READY
.
PUT
request to set the instance state to MIGRATING
:
state
value changes to COMPLETED
or FAILED
. Check if the skippedContents
array is populated. This array contains a list of all contents that were skipped during migration due to unsupported or invalid content. For example, see the following:
_em
.APP_NAME_query_rewrite
and APP_NAME_query_rewrite_staging
prior to clearing.PUT
request to set the instance state to CONNECTED
:
PUT
request to set the instance state to DISABLED
.
DISABLED
.
Does switching to Commerce Studio immediately affect live web traffic?
No. After a successful migration, web traffic continues to use rules and rewrites from Predictive Merchandiser. To switch live traffic to Commerce Studio, you must explicitly launch by setting the instance state to CONNECTED
.
What happens if I forget to publish changes in Predictive Merchandiser before migrating?
If you fail to publish pending rules and rewrites before starting the migration, the migration may fail or result in incomplete or inaccurate data. All changes must be published before proceeding.
render
endpoint responses for errorMessage
fields.fusionRequestUrl
to replicate the request in Fusion Query Workbench.fusion.applicable_rules
or fusion.tagger
values.APP_NAME_query_rewrite_staging_em
and APP_NAME_query_rewrite_em
.shards.preference=replica.leader
in the Apply Rules and Text Tagger stage parameters.fl
parameter.
fl
. Add required fields only when needed.fl=*
.edismax
query parser (defType=edismax
)tags
, lw.rules.simulate
, lw.app.emStatus
, context
, lw.tagger.debug
, lw.rules.debug
, lw.em.staging
response.docs
, response.numFound
, fusion.tagger
, fusion.applicable_rules
, fusion.applicable_stages
, response.facet_counts
, responseHeader.params
q=**:**
and standard fq
parameters./terms
request handler with standard parameters./terms
is missing or misconfigured.fq
with the collapse field specified, indicating what field identifies members of a group. For example, set fq={!collapse field=product_id_s}
when expand=true
is passed as a query param.
fusion.applicable_rules
and the final query string.
ctx
or log intermediate values.
tags
in pipelines may prevent rules from matching if users forget to apply corresponding tags in the Editor.group
params or blockjoin query parser is not supported.