4 ms·
(Original post description with clickable links.) ____ Notice a what appears to be a bug in HN’s search for comments that allows me to see the sum of votes a
by O__________O 4y ago
(Original post description with clickable links.)
____
Notice a what appears to be a bug in HN’s search for comments that allows me to see the sum of votes a comment received:
To replicate the bug, click link below:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
...and the first comment should have “1081 points” and be this comment:
https://news.ycombinator.com/item?id=6805807 https://news.ycombinator.com/item?id=6805807
____
Bug does not appear to be universal, nor am I able to figure out a pattern of why some of the comments appear to show the comment votes, but if for example you sort comments by date, they don’t appear to show vote points:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=&sort=byDate&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
The highest voted most recent comments also don’t appear to show votes via HN’s search; load link below, copy unique string of text, search for in using HN’s comment search:
https://news.ycombinator.com/bestcomments https://news.ycombinator.com/bestcomments
Example comment for link above displayed using HN’s comment search:
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=“%20Long%20story%20short%20legal%20eventually%20was%20the%20brave%20one%20”&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Also checked by entering custom dates in to show comments after the post were locked and that produced no comments with votes showing.
____
Tried to few Google’s, but found nothing.
What am I missing?
____________
Edit-001:
- appears search is broken for the sort by popular, only returning results that are years old, possibly 8+ years old; example, click back to page one of search results looking at the dates:
https://hn.algolia.com/?dateRange=all&page=99&prefix=true&query=Mongodb&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=99&prefix=true&qu...
____________
Edit-002:
Appears this is list of active/closed issues with HN’s search; looked for a known related issue, but was unable to find any:
https://github.com/algolia/hn-search/issues https://github.com/algolia/hn-search/issues
Found it via this Google search:
https://www.google.com/search?q=hacker+news+search+popularity+years https://www.google.com/search?q=hacker+news+search+popularit...
____________
- metadat 4y agoI email the mods in these cases, and have always gotten a helpful reply. hn@ycombinator.com
- O__________O 4y agoThanks, aware of the email, I don’t use email, and also don’t personally care for side-channel moderation; respect dang preference for it, just not one I personally works for me.
- metadat 4y agoOkay, good luck buddy. As an aside, I like your username and comments. Cheers.
- O__________O 4y agoThanks, I try, 100% sure aware that they’re suboptimal, but guess that’s only human.
- capableweb 4y agoHN used to show points of comments, and the API still show the score for those old comments, but not for new ones. It's not a bug in the search nor API, but rather data that used to have more datapoints but now has less. Seems it was changed in 2011 specifically: https://news.ycombinator.com/item?id=2434975 https://news.ycombinator.com/item?id=2434975
- O__________O 4y agoYup, thought that might be an explanation, though didn’t recall comment votes ever publicly being shown; and yes, realize it was 8+ years ago. Thanks clarifying things!