num_comments attr wrong?

27 views
Skip to first unread message

Joseph Adams

unread,
Feb 4, 2013, 1:19:47 PM2/4/13
to hnse...@googlegroups.com
Hi there!

I was playing around with the API and noticed that the num_comments seem wrong. Here are my queries:

Tells me that 1-8896f has 20 comments, but if I query:

It tells me that it can only find 15 comments.

Please correct me if my queries are not correct, but shouldn't the first query return num_comments: 15 ?

Thanks

Joseph

Andres Morey

unread,
Feb 8, 2013, 5:09:24 AM2/8/13
to hnse...@googlegroups.com
Hi Joseph,

Sorry for the late reply. The 'num_comments' attribute is calculated at indexing time and sometimes it includes a count of comments that get deleted subsequently.

Andres


Joseph

--
You received this message because you are subscribed to the Google Groups "HNSearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hnsearch+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Joseph Adams

unread,
Feb 8, 2013, 7:28:36 AM2/8/13
to hnse...@googlegroups.com
Thanks Andres!
Reply all
Reply to author
Forward
0 new messages