Changeset 3568
- Timestamp:
- 06/24/2016 07:13:40 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search.php
r3557 r3568 605 605 ), 606 606 'should' => array( 607 'multi_match' => array( 608 'query' => $args['query'], 609 'fields' => $args['query_fields'], 610 'type' => 'phrase', 611 'analyzer' => $analyzer 607 array( 608 'multi_match' => array( 609 'query' => $args['query'], 610 'fields' => $args['query_fields'], 611 'type' => 'phrase', 612 'analyzer' => $analyzer 613 ), 614 ), 615 array( 616 'multi_match' => array( 617 'query' => $args['query'], 618 'fields' => 'title', 619 'type' => 'phrase', 620 'analyzer' => $analyzer, 621 'boost' => 5, 622 ), 612 623 ), 613 624 ), … … 731 742 'scale' => 0.5, 732 743 'decay' => 0.6, 733 ) 744 ), 734 745 ), 735 746 ), 736 array(747 array( 737 748 'field_value_factor' => array( 738 749 'field' => 'meta.active_installs.long', 739 750 'factor' => 0.8, 740 'modifier' => 'log1p', 751 'modifier' => 'sqrt', 752 ), 753 ), 754 array( 755 'field_value_factor' => array( 756 'field' => 'support_threads_resolved', 757 'factor' => 0.8, 758 'modifier' => 'sqrt', 741 759 ), 742 760 ),
Note: See TracChangeset
for help on using the changeset viewer.