https://gerrit.wikimedia.org/r/#/c/126996/
API: includes/api/ApiFlowSearch.php
Query class (similar to other formatter): includes/Formatter/SearchQuery.php
Simple example query: http://mediawiki.dev/api.php?action=flow&submodule=search&qterm=test
-> Note that because of a recent change, &page=… is also required - that param is for now completely ignored (wasn’t there when I worked on this), but using &title= or &pageid=. This needs to be addressed: either not require it (unlike other APIs) & allow multiple or no page, or make sure we use the &page= param
TODO: results undergo default formatter.revision treatment - this will likely change once we implement the frontent as we’ll need specialized data, specific to search
Let's address that as part of T78790, once we implement the frontend.