Last modified: 2011-11-15 21:15:30 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 28505 - Semantic Drilldown gives spurious results
Semantic Drilldown gives spurious results
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
SemanticDrilldown (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-12 01:30 UTC by Vipul Naik
Modified: 2011-11-15 21:15 UTC (History)
3 users (show)

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


Attachments

Description Vipul Naik 2011-04-12 01:30:26 UTC
In this wiki:

http://groupprops.subwiki.org

When I try the semantic search [[Weaker than::Characteristic subgroup]] I get a bunch of results:

Weaker+than%3A%3ACharacteristic+subgroup]]&p=format%3Dbroadtable&eq=yes&limit=50">http://groupprops.subwiki.org/w/index.php?title=Special:Ask&q=[[Weaker+than%3A%3ACharacteristic+subgroup]]&p=format%3Dbroadtable&eq=yes&limit=50

When I try the same semantic search using a filter created for Semantic DrillDown, I get a number of additional results which are spurious:

http://groupprops.subwiki.org/wiki/Special:BrowseData/Terminology?_search_Weaker_than_in_terminology=Characteristic_subgroup

It seems to me (although I am not sure) that the Semantic DrillDown is using some approximate matching or substring matching instead of matching the exact term being searched so anything satisfying [[Weaker than::Characteristic subgroup of finite group]] also comes up in the answers.

There does not seem to be (to my knowledge) any way of disabling this to only restrict to exact matches.
Comment 1 Yaron Koren 2011-04-22 15:23:07 UTC
I just saw this bug now - I think I didn't notice it before because I didn't think it was related to one of my extensions. I changed "Semantic searches" in the title to "Semantic Drilldown" so it'll be clearer.

Anyway, I see the issue - values like "Characteristic subgroup of abelian group" are showing up when searching for "Characteristic subgroup". Yes, if you use the "combo box" input type, it does a substring search, instead of a search on the exact text. I think having it as a substring search is the right approach, since users can type in anything into that field. So, in this case, I'd say you have two basic options: don't use the "combo box" input type, or rename some of the values so that they're not substrings of other values.

By the way, in your explanatory text, "minimized" might be a better word choice than "circumcised".
Comment 2 Yaron Koren 2011-11-15 21:15:30 UTC
I'm changing the status of this to "WONTFIX" - I can't think of a way around the problem, other than with the options I listed above.

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


Navigation
Links