Page MenuHomePhabricator

MySQL search for titles without Lucene does not find filenames
Closed, ResolvedPublic

Description

In the default search (MySQL search without Lucene) 'foo' doesn't find "File:Foo.jpg" (only 'foo*' or 'foo.jpg' does). But 'bar' finds "File:Foo Bar Baz.jpg".

Is there a solution for this? Don't say users should truncate, the search should find it ;)


Version: unspecified
Severity: normal

Details

Reference
bz34255
Related Changes in Gerrit:

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:14 AM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz34255.
bzimport added a subscriber: Unknown Object (MLST).

Is that for title or content searches?

Wikipedia uses Lucene so nobody cares :(

Gehel subscribed.

Removed Discovery team as this is about MySQL search.

Change #1187914 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] Search: improve file title index

https://gerrit.wikimedia.org/r/1187914

Change #1187914 merged by jenkins-bot:

[mediawiki/core@master] Search: improve file title index

https://gerrit.wikimedia.org/r/1187914

TheDJ claimed this task.