[wp-meta] [Making WordPress.org] #6677: Update plugin search algorithm for Elasticsearch version 7
Making WordPress.org
noreply at wordpress.org
Fri Jan 13 08:28:31 UTC 2023
#6677: Update plugin search algorithm for Elasticsearch version 7
------------------------------+--------------------
Reporter: robfelty | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
The plugin search on wordpress.org (and also in wp-admin) is powered by
Elasticsearch. Currently the index is running on Elasticsearch version 2,
which is quite outdated. We would like to move the index to Elasticsearch
version 7, in order to be more up to date. In testing this change, we
noticed that some internal scoring changes in Elasticsearch resulted in
different results, giving higher weight to the boosting parts of the
search query, such as ranking plugins with higher install counts higher.
In order to keep the results as similar as possible to the current
results, these changes give slightly higher weight to the text based parts
of the query, giving similar results to the current query when running on
Elasticsearch 7.
Deploying this change should be done at the same time that the active
version of the index is updated to the new version running Elasticsearch
7.
I am attaching a patch to the plugin search algorithm.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6677>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list