[wp-meta] [Making WordPress.org] #2686: Plugin search should also take into account the number of ratings

Making WordPress.org noreply at wordpress.org
Tue Apr 11 15:27:47 UTC 2017


#2686: Plugin search should also take into account the number of ratings
------------------------------+-------------------------------------------
 Reporter:  bfintal           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Plugin Directory v3 - Future
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+-------------------------------------------

Comment (by bfintal):

 @gibrown

 I'm not sure if the number of ratings are indexed, so I can't test with
 the scripts you gave. But here's what I have in mind, this is to replace
 the last field_value_factor for the rating field:

 {{{
 {
   "filter": {
     "range": {
       "ratings_num": {
         "gte": 20
       }
     }
   },
   "field_value_factor": {
         "field": "rating",
         "factor": 0.25,
         "modifier": "sqrt",
         "missing": 2.5
   }
 }
 }}}

 The `20` there is an arbitrary value and can be replaced with anything
 which can be deemed as a minimum sample size for an overall rating, it can
 be `10` or `8`. This is to prevent plugins with only one or a handful
 ratings from being favored. I can't find the field for the number of
 ratings, so I placed it as `ratings_num` above to illustrate what I have
 in mind.

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


More information about the wp-meta mailing list