Re:Algolia releases new AI search features
by qwerty456127 on Wednesday October 14, 2020 @10:45AM
(#24777064)
Can I search HN, sort by date and hide all the hits which have never been shown in the top 30? Occasionally I want to find something I've seen among the titles on the HN index page some months ago.
[ Parent
| on HN ]
Re:Algolia releases new AI search features
by brainless on Wednesday October 14, 2020 @11:24AM
(#24777566)
In the case of HN, I assume that being once in top 30 would add a minimum number to the vote count. So a simpler query would be "sort by date and hide all the hits which have below 100 votes".
The real "have never been shown in the top 30" would need an actual event tag added to each post when they reach top 30. Then Algolia can search that I guess. Hidden tag search is a common practice.
Re:Algolia releases new AI search features
by Julie90210 on Wednesday October 14, 2020 @10:56AM
(#24777198)
Yes you should use https://hn.algolia.com !
Re:Algolia releases new AI search features
by qwerty456127 on Wednesday October 14, 2020 @11:07AM
(#24777348)
I do. But how do I filter never-been-among-the-top-30 titles out while keeping the list sorted by date rather than by rating?
Re:Algolia releases new AI search features
by justinhj on Wednesday October 14, 2020 @01:25PM
(#24779170)
You can only sort by popularity, which maps to 'score' in the data structure that the API sorts. You can see that here: https://github.com/HackerNews/API
The highest position on front page is not, AFAICT stored in any way and is not searchable.