Last modified: 2014-02-08 15:53:07 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.
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
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.
Thanks, Brad. I hope I've chosen the right Component this time...
"Search" is for MediaWiki's built-in search, repointing to the (old) WMF-specific search.
Verified that this problem is fixed in CirrusSearch. As we're migrating from Lucene to CirrusSearch, I'm closing this as RESOLVED WONTFIX.