See this new feature documented at https://www.mediawiki.org/wiki/Help:CirrusSearch#Exclude_content_from_the_search_index
(Based on this feedback from French Wikipedia.)
When you perform a particular search, the results can be polluted by navigation elements that are not supposed to be displayed.
For instance, this request displays the following description for the first result (also true for the other ones):
approchent. Ligue des champions de l'UEFA 2017-2018 Navigation Édition précédente Édition suivante modifier La Ligue des champions 2017-2018 est la
The block "Navigation Édition précédente Édition suivante modifier" is a navigation element, located at the bottom of the infobox and designed to go to the previous/next article about this football competition. These elements are not supposed to be included in the search and displayed as results.
The expected search result would be like this. However, this result is excluding the whole infobox by using -hastemplate:"Infobox Compétition sportive". This is not a solution, because some elements can be somehow only displayed in the infobox.
Would it be possible to implement something like class="navigation-not-searchable" that would avoid to display a particular tellement in search results?