Select Search Fields
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, check 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.”
Note:
If the search query provided by the shopper includes a non-alphanumeric character, the word order is preserved as if it were a phrase search for Exact match type. For example, consider that Drywall Screw is an item in your catalog and the name specified in the Product Name field is 4*128mm Drywall Screws. If you do not want the non-alphanumeric character * to be ignored during search, you must configure the Product Name field as a search field with an Exact match type. |
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:
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 want to include the Fuzzy type of match in your Search Settings, place 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. |
If the search query provided by the shopper includes a non-alphanumeric character, it is treated as white space for Keyword, Starts With, Starts With Exact, and Fuzzy match types.
Sample Search Fields Setup
NetSuite provides default search field settings to get you started. However, you should 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:
-
Complete the prerequisite tasks as described in Prerequisites.
-
Go to Commerce > Websites > Website List.
-
Click Edit next to your SuiteCommerce Advanced site.
-
Click the Search Index sub tab and then click Search Fields.
-
If the default setting is relevant to your website, go to Step 8 without making any changes.
-
(Optional) If you want to rearrange the search fields, you can drag and drop rows.
-
(Optional) If you want to delete a search field, you can select the field and click Remove.
-
(Optional) If you want to add a new search field:
-
Select the search field from the Search dropdown.
-
Select the match type for the Search Field from the Type of Match dropdown.
-
Click Add.
-
-
After you have finalized the Search Fields, click Save.