Last modified: 2014-02-08 15:53:07 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 T58738, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56738 - Search query with hyphen and wildcard
Search query with hyphen and wildcard
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
cirrus-fixed
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-07 20:53 UTC by vic_kag
Modified: 2014-02-08 15:53 UTC (History)
7 users (show)

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


Attachments

Description vic_kag 2013-11-07 20:53:08 UTC
Searching words containing both hyphens and a wildcard symbol (*) returns empty result. For example:
> https://en.wikipedia.org/w/api.php?action=query&list=search&srlimit=5&srprop=&srredirects=1&format=jsonfm&srsearch=New-York*
returns nothing, while same query without wildcards
> https://en.wikipedia.org/w/api.php?action=query&list=search&srlimit=5&srprop=&srredirects=1&format=jsonfm&srsearch=New-York
works just fine.
Comment 1 vic_kag 2013-11-07 20:56:49 UTC
OK, looks like Bugzilla failed URL parsing... First URL meant to be
> https://en.wikipedia.org/w/api.php?action=query&list=search&srlimit=5&srprop=&srredirects=1&format=jsonfm&srsearch=New-York%2A
Comment 2 Brad Jorsch 2013-11-07 21:01:09 UTC
The same results are returned by Special:Search, so this isn't a bug in the API. I'll leave it up to you whether you want it closed as such or if you want to reassign it to the proper search-related component.
Comment 3 vic_kag 2013-11-07 21:11:05 UTC
Thanks, Brad. I hope I've chosen the right Component this time...
Comment 4 Brad Jorsch 2013-11-07 21:19:17 UTC
"Search" is for MediaWiki's built-in search, repointing to the (old) WMF-specific search.
Comment 5 Dan Garry 2014-02-08 02:27:10 UTC
Verified that this problem is fixed in CirrusSearch. As we're migrating from Lucene to CirrusSearch, I'm closing this as RESOLVED WONTFIX.

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


Navigation
Links