4 ms·
Check the API docs https://hn.algolia.com/api https://hn.algolia.com/api for restrictSearchableAttributes=url So maybe https://hn.algolia.com/api/v1/sea
by gabrielsroka 5y ago
Check the API docs
https://hn.algolia.com/api https://hn.algolia.com/api
for
restrictSearchableAttributes=url
So maybe
https://hn.algolia.com/api/v1/search?query=newyorker.com/&restrictSearchableAttributes=url https://hn.algolia.com/api/v1/search?query=newyorker.com/&re...
See also my two posts here https://news.ycombinator.com/item?id=30331893 https://news.ycombinator.com/item?id=30331893
- rg111 5y agorestrictSearchableAttributes=url did not work without the API search. The links in text stories are also recognised as url, and that is reflected here. https://hn.algolia.com/?q=newyorker.com&restrictSearchableAttributes=url Was my query and it made no external difference. But when I tried directly accessing the API, it worked and threw me a JSON.
- gabrielsroka 5y agoCorrect. I'm talking about using the API, and I included a link to some client code and also a bookmarklet.