Last modified: 2013-03-26 11:25:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2511 - 1st search result does not have the word I entered into the search box
1st search result does not have the word I entered into the search box
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-25 05:53 UTC by michaelk
Modified: 2013-03-26 11:25 UTC (History)
2 users (show)

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


Attachments

Description michaelk 2005-06-25 05:53:24 UTC
Do a search for 'commodity' at en.wikipedia.org.

The first two results are:

1: Commode
2: Commodity.

The article for 'Commode' doesn't even have the word 'commodity' in it, but it's
rated at 100% relevancy (the page hasn't been edited for nearly a month).
'Commodity' should come up first and be rated at 100% relevancy.
Comment 1 JeLuF 2005-06-25 17:55:54 UTC
Should this be filed against Lucene?

It looks like a stemming issue.
Comment 2 Robert Stojnic 2007-07-13 18:44:27 UTC
Fixed in Lucene Search 2. Original words are indexes alongside with stemmed words. 
The queries are rewritten to have original words with higher boost, and stemmed words with lower boost. This ensures that the unstemmed words are preferred. 
Comment 3 Andre Klapper 2013-03-26 11:25:29 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

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


Navigation
Links