With the Nosto debug toolbar, you can see all the changes made to your website right away. To enable this feature, simply turn on the preview mode. After saving any changes in the code editor, you will be able to see them directly on your website.
Navigate to your website
In the URL, append ?nostodebug=true
to enable the debug toolbar
The Nosto debug toolbar should open up, where you will be asked to log in
Once you have logged in, enable the Preview toggle button at the bottom
You should now be able to view your changes live, via the Search box
Before each deployment search should be manually tested to ensure that everything works correctly.
Autocomplete returns results
Search displays results, facets with counts
You can select multiple facets (on the same field and different fields)
Sorting is working
Pagination is working
Test both mobile & desktop view using Chrome device simulation.
When you finished working on search implementation & carefully tested everything using Nosto debug toolbar, it's time to deploy everything.
Navigate to the Nosto Admin UI
> Search
> Templates
Click on Deploy latest and launch live
It can take up to 15 minutes for deployment to be visible
If the most recent update doesn't work properly, you have the option to revert to any previous update. Reverting won't alter the source, which means you can deploy the latest changes again simply by clicking on the main deployment button.
Navigate to the Nosto Admin UI
> Search
> Templates
Click on the desired deployment, click on ...
and then on Redeploy
If your latest update doesn't work and you don't have a previous working version to go back to, or if you want to completely remove the search function, you can turn off the search templates for a temporary period.
Reverting won't alter the source, which means you can deploy the latest changes again simply by clicking on the main deployment button.
Navigate to the Nosto Admin UI
> Search
> Templates
Click on the Disable Templates
button.