Last modified: 2014-09-05 18:29:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70452, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68452 - cl_sortkey for search enhancement
cl_sortkey for search enhancement
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-23 17:22 UTC by Eran Roz
Modified: 2014-09-05 18:29 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Eran Roz 2014-07-23 17:22:03 UTC
[Not sure it more relevant for CirrcusSearch or for Opensearch API action but it may be useful enhancement for both]
A good  idea for search enhancement from hewiki Village pump is to use sortkey of categories for searching.

Many users try to search first the last name e.g for locating  "Barack Obama" article they search for Obama, or Obama, Barack. If the search use suggestions based of default sort of category ({{DEFAULTSORT:Obama, Barack}}), people may find it easier, without need for manual redirect from "Obama, Barack".
Comment 1 Chad H. 2014-07-23 17:25:45 UTC
Very interesting and makes sense to me. Storing the defaultsort should be pretty cheap.
Comment 2 Chad H. 2014-07-23 17:36:15 UTC
Actually, now that I think about it it could be kind of confusing for people searching if the defaultsort is set to something other than just a rearranging of words in the title.

Instead, maybe what we need is to enable $wgCirrusSearchPrefixSearchStartsWithAnyWord everywhere so typing "Obama" will suggest "Barack Obama"
Comment 3 Eran Roz 2014-08-03 20:12:42 UTC
PrefixSearchStartsWithAnyWord seems to be better option, is there already existing configuration for wgCirrusSearchPrefixSearchStartsWithAnyWord?
Comment 4 Eran Roz 2014-09-05 18:29:33 UTC
Is there already existing configuration for $wgCirrusSearchPrefixSearchStartsWithAnyWord?
If not is it hard to implement?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links