Last modified: 2013-03-26 11:25:29 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 T4511, the corresponding Phabricator task for complete and up-to-date bug report information.
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