php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75846 Invalid search and Closest matches function
Submitted: 2018-01-19 03:28 UTC Modified: 2018-01-22 12:21 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: 649461722 at qq dot com Assigned:
Status: Open Package: Website problem
PHP Version: 7.0.27 OS: WIN7
Private report: No CVE-ID: None
 [2018-01-19 03:28 UTC] 649461722 at qq dot com
Description:
------------
                          notice!!!  
  I have seen the related issues submitted, but obviously the site has not made any changes, which is very important!

  This site is for beginners, and because of this search function, the site is actually very unuseful for beginners.Website values are also compromised.

右上角的搜索功能匹配算法太简单了,比如说我想查找ArrayAccess下的offsetSet方法,直接搜索offsetSet这个关键字居然找不到,然而事实上是有这个方法的介绍页面的(http://php.net/manual/zh/arrayaccess.offsetset.php),这很不人性化。

这个站点是对针对初学者,而因为这样的查找功能导致这个站点实际上对初学者来说帮助是微乎其微的。网站价值也大打折扣。

建议可以参考JAVA的api文档的实现方式。

因为我的英语不好,所以附上翻译软件翻译的英文:
Because my English is not good, I attach the English translation of the software:

  In the top right corner of the search feature matching algorithm is too simple, such as I want to find the offsetSet method of ArrayAccess, under the direct search the key word "offsetSet" couldn't find , but in fact the method introduction page is existent(http://php.net/manual/zh/arrayaccess.offsetset.php), it is not very humanization.

  This site is for beginners, and because of this search function, the site is actually very unuseful for beginners.Website values are also compromised.

  It is recommended that you refer to the implementation of the JAVA API documentation.

Test script:
---------------
search "offsetSet"

Expected result:
----------------
websit for "http://php.net/manual/zh/arrayaccess.offsetset.php"

Actual result:
--------------
nothing and bad "closest matches".

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-22 12:21 UTC] cmb@php.net
-Package: *Database Functions +Package: Website problem
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 08:01:29 2024 UTC