[wp-meta] [Making WordPress.org] #8225: Plugin search: slug field boost creates permanent advantage for grandfathered trademark slugs

Making WordPress.org noreply at wordpress.org
Wed Apr 8 23:59:40 UTC 2026


#8225: Plugin search: slug field boost creates permanent advantage for
grandfathered trademark slugs
------------------------------+------------------------------
 Reporter:  jeangalea         |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Improved Search
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+------------------------------

Comment (by dd32):

 > Could you confirm my reading of the [13640] regression?

 :facepalm: That is indeed an issue; I've missed the array syntax around it
 there. Happy little accident that it skipped over the slug..

 This is what I intended on it being: (To match the previous behaviour)
 {{{#!diff
 -'fields' => $this->localise_es_fields( 'title', 'slug_text' ),
 +'fields' => $this->localise_es_fields( [ 'title', 'slug_text' ] ),
 }}}

 However, I'm not going to change this immediately, as it's been like this
 for 2 years, and the impact of doing so appears that it'll put even more
 weight onto the slug. ''(Which is something I don't want to do, I've
 always wanted to put less weight on it, which probably explains why i
 missed this in the testing of the change)''

 As for the rest of your comment, Yes, I agree with your understanding (I
 think) and a patch / PR to alter this would be reasonable if you feel like
 you can make the search work in a way that exact slugs are matched but
 overall partial matches are less boosted in results, I'll however get
 someone with more ES knowledge than myself to review it before I commit it
 :)

 There might be an argument made by others that "My slug is `foo-bar-baz-
 by-acme`, I should get a slug boost if someone searches for `foo-bar-baz`"
 so worth keeping in mind that slug searching can be important, but not
 critical to ranking (IMHO).

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/8225#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list