https://bugzilla.wikimedia.org/show_bug.cgi?id=60439
Web browser: ---
Bug ID: 60439
Summary: API parameter "srbackend" is not recognized when "New
search" (CirrusSearch) enabled in Beta features
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: CirrusSearch
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
As documented API supports some search engines in list=search query. In
Wikipedia it works good with default settings. But when you enable "New search"
(CirrusSearch) in Beta features, "srbackend" parameter is no longer supported
and generates an error:
"Unrecognized parameter: 'srbackend'" (XML) or
'{"servedby":"mw1190","error":{"code":"srunknown_srbackend","info":"Unrecognized
value for parameter 'srbackend': LuceneSearch"}}' (JSON).
Example:
https://ru.wikipedia.org/w/api.php?action=query&list=search&srbackend=LuceneSearch&srlimit=5&srprop=&srredirects=1&format=json&srsearch=Ubuntu*
(need to enable "New search")
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l