WordPress.org

Making WordPress.org

Changeset 4450


Ignore:
Timestamp:
11/30/2016 08:15:48 PM (20 months ago)
Author:
tellyworth
Message:

Plugin directory: improve handling of multi word searches and plurals.

See #1692

File:
1 edited

Legend:

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

    r4443 r4450  
    622622                            'fields' => $args['query_fields'],
    623623                            'type'  => 'cross_fields',
    624                             'analyzer' => $analyzer
     624                            'operator' => 'and',
    625625                        ),
    626626                    ),
     
    631631                                'fields' => $args['query_fields'],
    632632                                'type'  => 'phrase',
    633                                 'analyzer' => $analyzer
    634633                            ),
    635634                        ),
Note: See TracChangeset for help on using the changeset viewer.