When I start typing in my wiki's search bar, articles that match what I'm typing start to appear. Is there a way to remove certain pages from being listed? I have a page that is a redirect which I would like to exclude from the search suggestions. I placed __NOINDEX__ on the page but it looks like that only affects how other search engines view the page.
Topic on Project:Support desk
According to this, it should get excluded from search suggestions.
Maybe there are some jobs left which are causing this delay. To see number of remaining jibs, browse to your Wiki's: https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm
No pending jobs. I'm confused by the link though, it talks about deleting the redirect page. I didn't delete the page, I'd like to keep it, just not have it appear in the search suggestions.
No, NOINDEX doesn't affect search suggestions.
Looking at mailarchive:wikitech-l/2016-February/084776.html, apparently you would need to create a custom SearchEngine class and use it in $wgSearchType.