Page MenuHomePhabricator

Search suggestions for namespace prefix returns single page result (Lucene + SimpleSearch / mwsuggest / opensearch)
Closed, ResolvedPublic

Description

Broken out from bug 26372:

When typing a namespace prefix (eg 'Project:', 'Help:', 'Talk:') into the search box, the suggestions traditionally return a few items from the beginning of that namespace, alphabetically.

On live Wikimedia sites which are running the Lucene search engine, only a single result is returned. (It can be verified this isn't an issue on the UI side by checking the actual opensearch responses -- they really do only return a single page title.)

For instance, on en.wikipedia.org right now typing "Talk:" returns the single result "Talk:&&". "Help:" returns "Help:A day in the Life", but no others.

More results are expected, especially when the first result is something funky-looking like a series of punctuation. :)


Version: unspecified
Severity: minor

Details

Reference
bz26443

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:17 PM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz26443.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 40156 has been marked as a duplicate of this bug. ***

This is affecting all wmf wikis. Pretty annoying at times. Maybe someone can investigate this? I imagine it must be a relatively easy logic bug in the back-end.

[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

I don't get any proposals now, instead

An error has occurred while searching: The search backend returned an error:

and that's all.

Hence bug 47761 needs fixing first before retesting this one.

Verified as an issue in CirrusSearch. Migrating.

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Deskana claimed this task.

No longer able to reproduce, so I am assuming that this issue was fixed.