-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
话题树是否存在回环? #2
Comments
请问您指的回环是什么?我并没有发现一级话题之间有回环。我现在也在爬取中。 |
我在抓取中同样未发现回环现象,如果在程序中发现该现象同样容易在知乎页面直接验证。您举的`一级的话题“学科”、“实体”、“产业”例子本身并未存在回环现象。如果切实有遇到,可以把相关案例在这里放出来,大家一起验证一下。 |
我找到原因了,有个另节点的 parentid 指向了自己,导致 PostgreSQL 使用递归查询时造成死循环。 |
有趣的案例 能具体指出该节点么? |
我把这类型的节点删除掉了,数量不多,应该少于 10 个。只记得有一个话题是 iPad。 |
https://www.zhihu.com/topic/19811517/hot 以同人文为例的确存在回环现象,此issue长久open。这里特别鸣谢 @painkiller0513 |
我在自己写的爬虫中发现,有些话题是存在回环的,比如一级的话题“学科”、“实体”、“产业”等,您有没有遇到这样的问题?
是不是知乎本身就存在这样的问题?
The text was updated successfully, but these errors were encountered: