Adjusting Product Fields for search on WooCommerce

Introduction

Product fields are product details that Searchanise imports from your WooCommerce store to search by them. The following product details are imported: 

  • Title
  • Description
  • SKU
  • SKU of Grouped products
  • Price
  • Stock status
  • Categories
  • Product type
  • Product Tags
  • Product Attributes
  • Reviews messages

By default, all product fields are enabled for search. You can choose which ones will be enabled and which ones won’t. To enable/disable product fields for search:

  1. Go to the Searchanise control panel > Preferences section > Products Fields tab to view Product Fields.
  2. Click the Edit fields button in the top-right corner.
  3. Change the state of the product field(s) from Enabled to Disabled or vice versa.

    Adjusting Product Fields for search on WooCommerce

  4. Save the changes.
  5. Click the link in the notice at the top or the Force re-indexation button in the Dashboard section to start indexation.

That’s it. After the indexation is complete, the plugin won’t search by the disabled product fields.

What is more, you can edit all or several product fields displayed on the page at once. To do so, follow these steps:

  1. Go to the Searchanise control panel > Preferences section > Products Fields tab.
  2. By default, it is shown 20 product fields per page. If you want to show and edit more, change the value in the Display drop-down list above the table.
  3. Select the Select all checkbox in the header of the table or select certain product fields.
  4. Click the appeared Edit selected button.
  5. Select the value of the Use in text search and suggestions drop-down list for all selected product fields and click the Update button.
  6. Click the link in the notice at the top or the Force re-indexation button in the Dashboard section to start indexation.

Adjusting Product Fields for search on WooCommerce

Set search weight to product fields

Search weight defines the importance of each product field. According to the importance of product fields, the search engine calculates the relevance of each item in the search results list.

By default, product fields have search weights in the following order:

  1. Title, SKU – the highest weight 
  2. Other product fields (product details) indexed for the search – have the same weight
  3. Description (Summary, Product description), Reviews messages – the lowest weight 

You can change the search weight for all product fields except for Title and SKU. To do so, follow these steps:

  1. Go to the Searchanise control panel > Preferences section > Product Fields tab to view Product Fields.
  2. Click the Edit fields button in the top-right corner.
  3. Change the search weight of the product fields.

    Adjusting Product Fields for search on WooCommerce

  4. Save the changes.
  5. Click the link in the notice at the top or the Force re-indexation button in the Dashboard section to start indexation.

That’s it. After the indexation is complete, the changed search weights will affect the relevance of search results.

Important info
  • Title and SKU will always have the highest weight over other product fields.
  • Merchandising rules with “always” and “keywords” ranking options have the highest weight over all product fields.
  • Search weights affect the ordering of search results by relevance. In the Instant Search Widget, search results are sorted only by relevance. In the Search Results Widget, a different sorting can be selected. The “by relevance” sorting is the most recommended.

Reset weights to default values

You can always reset the changed weight to default values. To do so, follow these steps:

  1. Go to the Searchanise control panel > Preferences section > Product Fields tab to view Product Fields.
  2. Click the Reset all weights button in the top-right corner.
  3. Click the link in the notice at the top or the Force re-indexation button in the Dashboard section to start indexation.
Enjoying your experience with Searchanise?

We’d appreciate it if you could take some time to leave a review.

Updated on May 24, 2022

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support
Back to top