Making WordPress.org

Changeset 13642


Ignore:
Timestamp:
05/01/2024 02:57:46 AM (3 years ago)
Author:
dd32
Message:

Plugin Directory: Search: Remove the max-boost limit, and restore boost-mode.

Accidentally included in [13640].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-search.php

    r13641 r13642  
    385385                ];
    386386
     387                unset( $es_query_args[ 'query' ][ 'function_score' ][ 'max_boost' ] );
    387388                unset( $es_query_args[ 'query' ][ 'function_score' ][ 'score_mode' ] );
    388                 unset( $es_query_args[ 'query' ][ 'function_score' ][ 'boost_mode' ] );
    389389
    390390                // Couple of extra fields wanted in the response, mainly for debugging
Note: See TracChangeset for help on using the changeset viewer.