Last modified: 2013-11-12 17:19:21 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 T58163, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56163 - CirrusSearch: Using * should search exact matches, not stemmed matches
CirrusSearch: Using * should search exact matches, not stemmed matches
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-25 15:07 UTC by Nik Everett
Modified: 2013-11-12 17:19 UTC (History)
3 users (show)

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


Attachments

Description Nik Everett 2013-10-25 15:07:37 UTC
CirrusSearch: Using * should search exact matches, not stemmed matches.  When a user uses something like * in their words they expect to match terms their own way.  It doesn't help that Elasticsearch/lucene/whatever doesn't analyze fuzzy query terms which can cause "*chokolade" not to match "schokolade" because the stemmer has removed the "e" from the end of the word.
Comment 1 Gerrit Notification Bot 2013-11-08 15:49:10 UTC
Change 94373 had a related patch set uploaded by Manybubbles:
Term containing * match against unstemmed text

https://gerrit.wikimedia.org/r/94373
Comment 2 Gerrit Notification Bot 2013-11-08 15:50:18 UTC
Change 94374 had a related patch set uploaded by Manybubbles:
Tests for term containing * match unstemmed text

https://gerrit.wikimedia.org/r/94374
Comment 3 keyler 2013-11-08 16:16:03 UTC
It's working! I did a reindex after the git update afterwards:
 php updateSearchIndexConfig.php --reindexAndRemoveOk --indexIdentifier now
 php forceSearchIndex.php --forceUpdate
Then "Sch*kolade" and also "*chokolade" returned results. 

Great work everyone!!! And thank you again...
Comment 4 Gerrit Notification Bot 2013-11-12 17:17:19 UTC
Change 94373 merged by jenkins-bot:
Term containing * match against unstemmed text

https://gerrit.wikimedia.org/r/94373
Comment 5 Gerrit Notification Bot 2013-11-12 17:17:41 UTC
Change 94374 merged by jenkins-bot:
Tests for term containing * match unstemmed text

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

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


Navigation
Links