Issue searching for comments with points filter #55

Closed
edavis opened this Issue Feb 8, 2015 · 3 comments

Projects

None yet

3 participants

@edavis
Contributor
edavis commented Feb 8, 2015

Hi,

It appears the combination of tags=comment and numericFilters=points>X is no longer returning new results.

The latest results are from early October 2014: https://hn.algolia.com/api/v1/search_by_date?tags=comment&numericFilters=points%3E1

It seems to just be this combination. Searching for comments and filtering on created_at_i works fine. Searching for stories and filtering on points, num_comments, or created_at_i works fine.

It looks like a switch was made to the official HN API around early-to-mid October 2014 (#29). My best guess is this issue is related to that switch.

Thanks!

@redox
Member
redox commented Feb 9, 2015

Yes you're right. The new Firebase-based API doesn't include any score attribute for comments https://github.com/HackerNews/API#items

For instance https://hacker-news.firebaseio.com/v0/item/9023243.json

@kogir any input on that?

@kogir
kogir commented Feb 9, 2015

We never really meant to leak score information, even in the pre-firebase private interface. I don't believe there are plans to bring it back. You'll need to email hn@ycombinator.com and try to convince Daniel 😄

@edavis
Contributor
edavis commented Feb 23, 2015

Ah, gotcha. No worries. Just wanted to make sure I wasn't missing something.

@edavis edavis closed this Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment