Search does not show all functions

diricia - October 16, 2008 - 09:17
Project:API
Version:5.x-1.0
Component:Search
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

When typing in 'db_' the autocomplete does not show db_fetch_array as a function
When typing in 'db_fet' the autocomplete does show the function.

Makes it very difficult to find functions that are for the same functionality if you don't know the names.

#1

drumm - December 27, 2008 - 03:28
Category:bug report» feature request

The current algorithm is to take the first 20 and show those. Some ranking and such needs to be added.

Something I have been thinking of doing is making all API objects available via JSON. This would load on focus for the search field, and the autocomplete could immediately get results from memory instead of making a HTTP call back for each pause in typing.

#2

gpk - December 27, 2008 - 22:52

It also doesn't show different implementations of the same function, e.g. in different database layers.

If there are more than 20 results for a given search string then the dropdown could have More ... at the bottom linking to the full search results which works nicely, e.g. http://api.drupal.org/api/search/6/db_

#3

Chris Charlton - January 27, 2009 - 07:17

Maybe a JS var that users can set to increase the limit.

#4

drumm - July 20, 2009 - 07:25
Status:active» fixed

It is 100 now.

#5

System Message - August 3, 2009 - 07:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.