• filter

    jetpack_instant_search_disable_tracking

    Whether to disable Tracks and TrainTracks analytics. This can be enabled via URL parameter (?disable_tracking=1) for testing, or via the filter for permanent configuration. Useful for debugging issues where tracking may interfere with search functionality, such as Safari’s advanced tracking protection.

  • filter

    jetpack_search_get_filters

    Modify the aggregation filters returned by get_filters(). Useful if you are setting custom filters outside of the supported filters (taxonomy, post_type etc.) and want to hook them up so they’re returned when you call `get_filters()`.

  • filter

    jetpack_search_recency_score_decay

    Modify the recency decay parameters for the search query. The recency decay lowers the search scores based on the age of a post relative to an origin date. Basic adjustments: – origin: A date. Posts with this date will have the highest score and no decay applied. Default is today. – offset: Number of days/months/years (eg 30d). All posts within this time range of the origin (before and after) will have no decay applied. Default is no offset. – scale: The number of days/months/years from the origin+offset at which the decay will equal the decay param. Default 360d – decay: The amount of decay applied at offset+scale. Default 0.9. The curve applied is a Gaussian. More details available at {@see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-decay}