Volto: default search page, filtering options

With Volto, the default search results page does allow filtering by tag but there are no options to filter by date-range or author.
Classic Plone at least allowed filtering by content type and I'm not seeing that option in Volto.
What strategies could I use to change the capabilities in Volto.

@pigeonflight you would need to customize the search component from Volto

and add extra properties that are passed as options to the searchContent action.
See how NewsAndEvents view is doing it hardcoded:

@pigeonflight I answered strictly to your question regarding the search page.
Personally, I would go another route which is to create a search page and add the search block where you can easily add search criteria options as needed and just customize the form action for the search input to go to that search block page.

You can create a page called /search, but you need to remove the noncontent route

config.settings.nonContentRoutes = [
 ...config.settings.nonContentRoutes.filter((p) => p !== '/search'),

Also, in routes.js, you need something like (needs to be adjusted according to multilingual capabilities of the site):

routes[0].routes = routes[0].routes
  .filter((r) => r.path !== '/search')
  .filter((r) => r.path !== '/(de|en)/search');
1 Like