[wp-meta] [Making WordPress.org] #2686: Plugin search should also take into account the number of ratings
Making WordPress.org
noreply at wordpress.org
Wed Apr 12 02:34:02 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
Good point and thanks for the links. Here's a smoother one that adds a
multiplier 0.75 to 1.0 when it's below 20. This one actually works with
the script you gave. The values for the range filter `20` and the `offset`
and `decay` can be further fine tuned. The decay can be increased to a
higher value to lessen the impact of this filter.
{{{
{
"field_value_factor": {
"field": "rating",
"factor": 0.25,
"modifier": "sqrt",
"missing": 2.5
}
},
{
"filter": {
"range": {
"num_ratings": {
"lte": 20
}
}
},
"gauss": {
"num_ratings": {
"origin": 20,
"offset": 0,
"scale": 20,
"decay": 0.75
}
}
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2686#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list