Last modified: 2009-05-29 09:48:40 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 T13313, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11313 - Wildcard search do not work for logged-in users in some Wikipedias
Wildcard search do not work for logged-in users in some Wikipedias
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Robert Stojnic
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-12 17:30 UTC by Lejonel
Modified: 2009-05-29 09:48 UTC (History)
1 user (show)

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


Attachments

Description Lejonel 2007-09-12 17:30:42 UTC
In all Wikimedia projects I have tested, it is possible to use wildcards (*) in searches and get results when not logged in. But if I log in and do the same searches, I get results on some projects (English Wiktionary, Dutch Wikipedia, and Swedish Wikisource), but in others (English and Swedish Wikipedias) I see the MediaWiki:Lucenefallback message and get no results.
Comment 1 Robert Stojnic 2007-09-12 21:13:14 UTC
Lucene doesn't let you do wildcard queries over split indexes (at least not 
out of the box). When you are logged in, you probably have more than one 
namespace (apart from the main) in you default search, and since indexes 
are split main+rest, it needs to search more than one index.

So, this affects only large wikis that have split indexes and users that 
try to do wildcard searches on more than one namespace, but still I guess 
that our wildcard support needs to be reworked. 
Comment 2 Brion Vibber 2007-09-13 15:34:12 UTC
The default is probably to search multiple namespaces in most cases (eg, articles and images, or articles and categories, etc), so that needs to actually work I think. :)
Comment 3 Robert Stojnic 2007-09-13 16:09:18 UTC
From what I've seen in the logs, around 99.5% of queries are in the wiki's
default-search namespace, so I split the index conveniently according to this 
(i.e. main+rest for 10 largest wikis, with exception of es.wiki), others
are just single index file so there is no problem. 

But then again, i guess that those 0.5% users are most likely to use
wildcard queries and complain about it... If this is a sought-after 
feature (as it seems), I could also try to make it work with arbitrary
wildcard queries (i.e. for suffixes as well) .. 

Comment 4 Siebrand Mazeland 2008-08-17 20:02:07 UTC
Mass close WONTFIX open Lucene Search issues because extension Lucene Search was removed, and replaced by MWSearch. Please set to REOPENED if behaviour still exists with a another component, and update the domain.
Comment 5 Siebrand Mazeland 2008-08-17 20:18:21 UTC
Mass REOPEN after discussion with Robert. Domain: Wikimedia/lucene-search-2. Assigned to maintainer.
Comment 6 Robert Stojnic 2009-05-29 09:48:40 UTC
Been fixed for a while... 

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


Navigation
Links