shopify商店搜索词和搜索错误介绍 搜索您的商店在线商店

2024-01-01 14:01:26
By 何方道友在此夺名

搜索您的商店

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

提示:您可以使用相同的搜索查询语法来搜索您的 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商户官方网站



(本文内容根据网络资料整理和来自用户投稿,出于传递更多信息之目的,不代表本站其观点和立场。本站不具备任何原创保护和所有权,也不对其真实性、可靠性承担任何法律责任,特此声明!)


常见问答(FQAS)


如何提高网站搜索的效率?

要提高网站搜索的效率,需要确保产品和页面包含相关的关键词,给产品和页面添加精准、丰富的标题和描述信息。同时也要定期检查和优化网站结构,确保关键词被正确地应用在标题和文本中。

搜索功能不能正常工作怎么办?

如果搜索功能不能正常工作,首先要检查网站是否有错误。然后检查搜索参数设置是否正确,比如是否限制了搜索结果数,搜索功能是否被关闭等。如果一切正常,可能是服务器故障导致的,可以尝试重新索引网站或等待一段时间。如果问题持续存在,可以咨询网站开发商或技术支持人员寻求帮助。

如何对搜索结果进行自定义排序?

要自定义搜索结果的排序,需要在网站后台搜索设置中添加自定义排序规则。比如按产品销量从高到低排列,或者按新增时间从新到旧等。还可以根据搜索词关键词权重等其他因素进行排序,但这需要开发者参与设置代码。设置好排序规则后,就可以按自己需求显示搜索结果了。