搜索您的商店

在线商店搜索是一款功能完备的强大工具,客户可以使用它来对商店的所有产品、文章和页面进行搜索。

提示:您可以使用相同的搜索查询语法来搜索您的 Shopify 后台。

单数形式和复数形式的搜索词

搜索将尝试以单数和复数形式匹配搜索词。

搜索

 Puppies

包含“puppy”或“puppies”的匹配结果。

将单数和复数形式的搜索词视为等效是提取词干的一个示例,其中一个搜索词映射到其常用词元(词干)。Shopify 的词干提取也会考虑不同搜索词的常用词根。

搜索

 body:leggings

包含“leg”或“leggings”的匹配结果。

如果要基于部分模式匹配进行搜索,请使用前缀搜索。


接受拼写错误

在线商店搜索包括接受拼写错误的功能,从而可为包含拼写错误的搜索字词找到正确匹配。

搜索结果包含有 1 个字母与搜索字词或有 2 个字母顺序与搜索字词不同的匹配项。需要正确输入搜索字词的前 4 个字母,接受拼写错误功能才能生效。

对于产品标签和文章标签的搜索结果,不会使用“接受拼写错误”。例如,如果客户搜索 chocollate,他们不会收到根据 chocolate 或 chocolates 等标签搜索到的结果。

以下字段支持接受拼写错误:

产品字段

  • 标题

  • product_type

  • variants.title

  • 供应商

文章字段

  • 作者

  • 标题

页面字段

  • 作者

  • 标题

备注:只有使用英语作为模板语言的模板才支持接受拼写错误。

Shopify商户官网原文详情:

Searching your store

The online store search is a fully featured, powerful tool for your customers to search across all of your store's products, articles, and pages.

Singular and plural search terms

Searching tries to match terms in both their singular and plural forms.

Searching for

Puppies

matches results containing "puppy" or "puppies".

Treating singular and plural terms as equivalent is an example of stemming, where a word is mapped to its common lemma (stem). Shopify's stemming also takes into account the common stem of different words.

Searching for

body:leggings

matches results containing "leg" or "leggings".

If you want to search for a word based on partial pattern matching, then use prefix search.


Typo tolerance

The online store search includes typo tolerance, which finds correct matches for search terms that contain typos.

Search results include matches that differ from the search term by 1 letter or that have 2 letters in a different order. The first 4 letters of a search term need to be entered correctly for typo tolerance to take effect.

Typo tolerance isn't applied on search results for product tags and article tags. For example, if a customer searches for chocollate then they won't receive results based on tags such as chocolate or chocolates.

The following fields support typo tolerance:

Product fields

  • title

  • product_type

  • variants.title

  • vendor

Article fields

  • author

  • title

Page fields

  • author

  • title

文章内容来源:Shopify商户官方网站


(本文内容根据网络资料整理,出于传递更多信息之目的,不代表连连国际赞同其观点和立场)