Reading/Web/Desktop Improvements/Features/Search/zh

我们希望项目中的所有编辑者都能够快速有效地找到他们正在寻找的文章. 我们的搜索功能对此至关重要，但是我们当前的搜索体验存在一些问题和需要改进的地方. 首先，搜索是在页面上的非标准位置上进行的，这使以前没有使用过我们网站的用户很难找到它，并且对于已经知道其位置的用户来说很容易忘记. 其次，在搜索过程中，可能需要花费大量时间才能找到正确的结果，因为我们目前不提供所显示搜索结果的任何上下文.

我们的目标是以一种更易于查找和使用的方式来改善我们的搜索体验. 我们尤其要


 * 将我们的搜索移至更重要的位置，以便更轻松地查找
 * 通过包含图像和其他上下文信息来提高搜索结果的可扫描性，使我们的搜索更易于使用



功能描述及要求

 * 搜索栏将移动到页面顶部的新位置.
 * 搜索栏将包含页面图像（如果有）以及页面说明（如果有）. 页面描述可以是本地描述或维基数据描述，具体取决于各个维基的策略.



设计要求及准则


位置变化




新搜索功能




使用usertesting.com进行了用户测试，该测试着重于以下方面：


 * Indentifying any major usability issues that we may have overlooked
 * Learning more about search behavior by identifying the breakdown in terms of how people submit their search:
 * (a) click on a suggested result
 * (b) press `enter` on their keyboard
 * (c) click the `Search` button
 * To see what people think the “Search” button will do
 * To see what people think the “Search pages containing X” will do

研究
在usertesting.com上，我们让用户完成各种任务，其中一些任务要求他们搜索各种文章（但没有明确告诉他们使用搜索框）. 分为两组：

第1组


 * 17人
 * 在第 1 组中，人们搜索了//埃及//、//洞穴艺术//、//香蕉//、和//紫色//.

第2组


 * 15人
 * 第2组中的人搜索了//电//、//香蕉//、//柳树//、//罗密欧与朱丽叶//、和//紫色//.

There was a mix of ages and geographies in both groups:

发现

 * 0 people had issues using search
 * There were a total of 117 searches submitted:
 * 86 were submitted via a suggested result
 * 19 were submitted via the `enter` key
 * 12 were submitted via the `Search` button
 * Regarding what people thought clicking the `Search` button would do:
 * 16 of 23 people who answered thought it would take them to the first result
 * 7 of 23 people who answered thought it would take them to a list of results
 * note: all people assumed that `enter` and the `Search` button do the same thing
 * Regarding what people thought clicking the `Search for pages containing Purple` would do:
 * 25 of the 25 people who answered thought it would take them to a list of pages that have the word "purple" in them

Notes:

It was ambiguous how they were supposed to get there. 7 out of 10 people tried to find an "Egypt" link within the Pancake article
 * in the first study people started on the Pancake article and were then asked to go to the article about Egypt.
 * one person wondered why the Cave art search result didn't have an image — made me wonder if the articles that don't have images look lower quality next to the ones that do?
 * in two cases the search results loaded quite slowly and the people used the `Search` button
 * few people used their keyboard to navigate down to suggested search results (maybe 2 or 3)



定量测试
Two A/B tests will be performed on the early adopter wikis:


 * A comparison of the old location of the search bar vs the new location of the search bar
 * A comparison of the old search widget vs the new search widget

We will be tracking the following metrics:


 * Search Sessions initiated
 * Search Sessions completed

Our target is a 2.5% increase for each change for an overall 5% increase in search sessions initiated

Summary of A/B test results
Logged-in users AB Test

Results varied on a per wiki basis, with some observed increases and decreases in search sessions initiated between the two test groups. Logged-Out Users Pre and Post Deployment Analysis Details are available in the full report.
 * We observed an average 28.9% increase in the search sessions initiated across early adopter wikis in the AB test;
 * For 7 out of the 12 early adopter wikis, there was an increase in the number of search sessions initiated in the new search widget test group.
 * Most increases ranged from about 12% to 22% but search sessions initiated were more than double on Serbian (+108.12%) and Hebrew Wikipedia (+192.37%).
 * There were no significant differences in search sessions initiated based on the user's edit count bucket indicating that a user's editing experience is not a factor in the likelihood of them starting a search.
 * We observed an 8% overall increase (13.4% median increase across early adopter wikis) in search sessions initiated by logged-out users on the early adopter wikis following deployment of the new search widget.

Release plan
我们开始部署这些更改的第一次更新，将搜索栏移动到新位置. 办公维基（Office Wiki）和测试维基已在2020年9月移动，然后是我们的早期采用者维基. 我们已在2021年3月部署新搜索体验的第二次更新（内置于vue.js中）. 此次迭代已將图片和内容描述添加到搜索结果. 有关更多详细信息，请参见我们的主功能页面.

配置
新的搜索功能允许在显示每个搜索结果的同时显示图片和本地或维基数据说明. 每个项目都可以配置. 目前的配置是：