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

Issue searching for comments with points filter #55

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

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

This comment has been minimized.

Show comment
Hide comment
@redox

redox Feb 9, 2015

Member

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?

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

This comment has been minimized.

Show comment
Hide comment
@kogir

kogir 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 😄

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

This comment has been minimized.

Show comment
Hide comment
@edavis

edavis Feb 23, 2015

Contributor

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

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