relevanssi_date_query_non_posts

apply_filters( 'relevanssi_date_query_non_posts', boolean $include ) )

Controls whether non-post results (users or taxonomy terms) are included in searches with date query filters.

Parameters

$include
(boolean) If true, include non-post results. Default false.

More information

If there are date parameters in the search query, that’s going to exclude non-post results like users and taxonomy terms, because they don’t have any publication dates to use. By default any date queries will exclude these results.

If you don’t want the results excluded, return true to this filter function:

add_filter( 'relevanssi_date_query_non_posts', '__return_true' );

When you do that, Relevanssi will add a OR relevanssi.doc = -1 to the MySQL query, which will include all non-posts results.