Skip to content
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 · 4 comments
Closed

Issue searching for comments with points filter #55

edavis opened this issue Feb 8, 2015 · 4 comments

Comments

@edavis
Copy link
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
Copy link
Contributor

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
Copy link

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
Copy link
Contributor Author

edavis commented Feb 23, 2015

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

@edavis edavis closed this as completed Feb 23, 2015
@PatMyron
Copy link

PatMyron commented Mar 8, 2024

@kogir I understand points aren't shown for other users' comments on HN, but an interface that sorts one's own comments by score would be nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants