Update: The original description was a contrived test case that's turned out to be more confusing than illuminating. A more apt description of the issue is that when CirrusSearch is given a prefer-recent parameter with a boost value that is out of bounds it returns zero search results. And the most direct way to reproduce is with these links: working • broken.
Original task description follows:
Steps to replicate the issue (include links if applicable):
- Log out or open a private browsing window
- Open https://en.wikisource.org/wiki/Special:Search
- Enter tech news prefix:Wikisource:Scriptorium in the search box
- Observe obvious search results
- Add prefer-recent:2,30 keyword to the end of the search box (keeping the original search terms)
- Observe zero results returned
What happens?:
When the prefer-recent: keyword is present in the search phrase no results are returned.
What should have happened instead?:
The same results as when the prefer-recent: keyword is not present should be returned, only in a different sort order.