Page MenuHomePhabricator

Searching For Uppercase (e.g. X12) Doesn't Find Pages
Closed, DeclinedPublic

Description

Author: kepa_online

Description:
For example, if I search in Wikipedia for X12 it doesn't find any pages unless
the page has the exact name. i.e. if the page is called "X12" (as opposed to
having X12 in the title) then it will be found. Try searching for X12 on the
Wikipedia site and then go to this page. You'll see that X12 is in the title:

http://en.wikipedia.org/wiki/ANSI_ASC_X12

I first noticed this on my own MediaWiki site. I was searching for "EDI" and it
found nothing. EDI is contained in documents and it is in one of the titles and
yet MediaWiki returned no results!

The search appears to work fine for lowercase stuff though.


Version: 1.5.x
Severity: major
URL: http://en.wikipedia.org/wiki/ANSI_ASC_X12

Details

Reference
bz2868

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:43 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz2868.
bzimport added a subscriber: Unknown Object (MLST).

Looks fine for me although it seems the search engine should probably output first
articles for which the title match the query sent.

zigger wrote:

(In reply to comment #0)
The problem with EDI on your own site may be due to the default 4-character
minimum length for mysql full-text searches. See bug 1368 and
http://dev.mysql.com/doc/mysql/en/fulltext-fine-tuning.html .