[wp-meta] [Making WordPress.org] #174: Link to generally related functions/classes

Making WordPress.org noreply at wordpress.org
Thu Aug 31 12:46:42 UTC 2017


#174: Link to generally related functions/classes
---------------------------+-----------------------
 Reporter:  samuelsidler   |       Owner:
     Type:  task           |      Status:  assigned
 Priority:  high           |   Milestone:
Component:  Developer Hub  |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------

Comment (by keesiemeijer):

 I've come to the point were I think this isn't the right way to go about
 it. Generally the query for related posts is too expensive and the results
 vary to much.

 As an experiment I've tried importing related post ids into post meta
 after the parser was done. Similarly to how the `Used By` and `Uses` posts
 are connected after the parser has imported all posts. It took about two
 seconds to import related posts for every post. This gives you an idea how
 expensive the query is. It would have taken around 4 hours to import all
 related posts.

 I think letting users connect related functions as mentioned in
 [comment:25] would lead to better results with less effort.

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


More information about the wp-meta mailing list