Select Search Fields

This topic applies to

Applies to

SuiteCommerce Web Stores

When a search is initiated in the web store, the system searches based on the type of match and order of the fields configured on the Search Fields subtab.

Select the Right Type of Match

Before you select the type of match for your Search Fields, review the usage of each type of match. Also, observe the definitions for each type of match as it would be applied to the item attribute text "wifi router":

Type of Match

Description

Usage

Exact

Matches the exact text of the item field contents. For example, if the shopper types “wifi router” in the search box, the search matches “wifi router.”

Exact match holds good in situations where a shopper might provide the exact search string when searching for a product. Ideal for the SKU and Online Name fields where there are chances that a shopper remembers the full name and provide the exact search string.

Note

If you select the same search field multiple times and use it with different types of match, define exact match at the top of the list for that search field.


Keyword

Appears anywhere in the text. For example, if the shopper types “router” in the search box, the search matches “wifi router."

Keyword holds good for fields with a lot of text. Ideal for fields with description such as Detailed Description or in case of the Online Name field where shoppers might search for only part of the full item name.

Note

To avoid false positives in your search results, ensure that the item descriptions do not repetitively use terms associated with other unrelated items in your catalog.


Starts with

Behaves the same as Keyword search but only for the first 20 characters of every word in a field. For example, if the shopper types "wifi" in the search box, the search matches "wifi router."

You should use Starts With only if your site uses Type Ahead search and only use it on fields such as Online Name.

Starts With Exact

Matches the exact text from the beginning of a field but only up to the first 20 characters. For example, if the shopper types “wifi” or “wifi rou” in the search box, the search matches “wifi router.”

Starts With Exact holds good in situations where a shopper provides the exact first few characters (up to 20 characters) as the search string.

Ideal for the SKU field where a shopper might provide only the first few characters of the SKU number.

Note

If all your SKU numbers are less than 20 characters, it is possible to only use Starts With Exact for the SKU field instead of Exact.


Fuzzy

Matches similar text or misspellings depending on the length of the search term specified. Following rules are applicable when the type of match is Fuzzy:

  • Fuzzy matching is not applied for search term with three or fewer characters.

  • Search term with four or five characters will fuzzy match against one character being different.

  • Search term with six or more characters will fuzzy match against up to two characters being different.

For example, if the shopper types “mifi” in the search box, the search matches “wifi router.”

Since fuzzy matches can return irrelevant items (skirt versus shirt) in the search results, use the Fuzzy type of match only if you have a valid use case.

If you wish to include the Fuzzy type of match in your Search Settings, put it at the bottom of the list. Since the list of search fields is ranked in order, top to bottom, fuzzy matches near the top of the list can return irrelevant items at the top of the search results list.

Sample Search Fields Setup

NetSuite provides default search field settings to get you started. However, it is recommended that you reconfigure the Search Fields based on the data in your item records.

You can also consider the following search fields setup as a starting point for your environment:

Search Field

Item Record Field Name

Field ID

Search Type

Name

ITEM NAME/NUMBER

itemid

Starts With Exact

Online Name

WEB STORE DISPLAY NAME

storedisplayname

Exact

Online Name

WEB STORE DISPLAY NAME

storedisplayname

Starts With

Online Name

WEB STORE DISPLAY NAME

storedisplayname

Keyword

Search Keywords

SEARCH KEYWORDS

searchkeywords

Keyword

Detailed Description

DETAILED DESCRIPTION

storedetaileddescription

Keyword

To select the search fields

  1. Complete the prerequisite tasks as described in Prerequisites.

  2. Go to Setup > SuiteCommerce Advanced > Set Up Web Site.

  3. Click Edit next to your SuiteCommerce Advanced site.

  4. Click the Search Index sub tab and then click Search Fields.

  5. If the default setting is relevant to your website, go to Step 8 without making any changes.

  6. (Optional) If you want to rearrange the search fields, you can drag and drop rows.

  7. (Optional) If you want to delete a search field, you can select the field and click Remove.

  8. (Optional) If you want to add a new search field:

    1. Select the search field from the Search dropdown.

    2. Select the match type for the Search Field from the Type of Match dropdown.

    3. Click Add.

  9. Once you have finalized the Search Fields, click Save.