Selase Krakani 049f8569d8
FIX: Recursively tag topics with missing ancestor tags (#18344)
* FIX: Recursively tag topics with missing ancestor tags

Given only a child tag, walk up the ancestry chain, get all of it's
ancestors for use in tagging a topic

* FIX: Ensure only one parent tag is returned for topic tagging

Current implementation selects and return first parent tag if child tag
has multiple parents.

This change updates recursive parent tag implementation to only return
parent tags via only one ancestry line.

* DEV: Add test case for tag cycles

Given we aren't performing a strict graph traversal to get a tag's
parent, cycles do not have any effect on the tags returned for topic
tagging.
2022-09-27 12:04:16 +00:00
..
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2020-01-15 11:27:12 +01:00
2021-10-27 11:39:28 +03:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-03-03 09:24:58 +08:00
2021-05-31 10:22:50 +08:00
2022-04-28 11:51:03 +02:00
2022-04-06 17:10:51 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2021-06-21 11:06:58 +08:00
2020-07-21 15:55:03 +08:00
2022-08-10 14:58:14 +02:00