Documenter: how to exclude search results?

I’d like to exclude certain pages from appearing in the search results for fixing Docs: Search results are hard to interpret for common search terms · Issue #4157 · JuliaPlots/Plots.jl · GitHub.

What is the process used by Documenter to generate search results ?
Is there a way to fine tune these ?

Documenter’s search seems to be powered by lunrjs: JSDoc: Home.

I guess one needs to skip pushing to search_index in Documenter.jl/HTMLWriter.jl at b4dc61bc3d07245550c8f47f2728ad9a92086b61 · JuliaDocs/Documenter.jl · GitHub or Documenter.jl/HTMLWriter.jl at b4dc61bc3d07245550c8f47f2728ad9a92086b61 · JuliaDocs/Documenter.jl · GitHub on a specific elem clause.

@mortenpi had similar ideas in https://github.com/JuliaPlots/Plots.jl/issues/2337#issuecomment-645048293.