6 ms·
HNSearch Feature Requests
Please let us know about bug fixes and feature requests for hnsearch.com and the HNSearch API.
- jflatow 15y agoI'm not sure why, but I've noticed that sometimes the points field is null, even though it shouldn't be. See for example the second result here: http://api.thriftdb.com/api.hnsearch.com/items/_search?q=skype&filter%5Bfields%5D%5Btype%5D%5B%5D=submission&sortby=points+desc&_=1307314960533&pretty_print=true http://api.thriftdb.com/api.hnsearch.com/items/_search?q=sky...
- thaumaturgy 15y agoLooks like items marked [dead] in HN will show up as zombie search results -- i.e., they get returned in the search results for the items collection but the discussion field is null. For example: filter[fields][type]=comment&filter[fields][username]=pg ...the second result there has a null discussion field. Getting the submission title &etc. would be nice.
- andres 15y agoThe 'discussion' attribute contains info about the discussion that the comment belongs to. In this case the parent discussion is [dead] so the value of 'discussion' is null. Unfortunately, we don't have access to submission titles for [dead] submissions.
- thaumaturgy 15y agoIs there a way to exclude values from search results in the ThriftDB API? i.e., say I want to, [filter][domain]=nytimes.com&[filter][username]!=ausername ...is there a way to do that? I tried the "exclude" operator after [username] and get an "internal server error" every time.
- andres 15y ago&filter[fields][domain]=nytimes.com&filter[queries][]=-username:ausername
- thaumaturgy 15y agoGreat! Thanks.
- thaumaturgy 15y agoArgh. And also, is there any way to query ThriftDB for HN date ranges?
- andres 15y agoYou can use strings to represent relative times: &filter[fields][create_ts]=[NOW-5HOURS%20TO%20NOW] or exact timestamps: &filter[fields][create_ts]=[2011-06-01T05:00:00.00Z%20TO%202011-06-02T07:00:00.00Z] or both: &filter[fields][create_ts]=[2011-06-01T05:00:00.00Z%20TO%20NOW]
- thaumaturgy 15y agoSweet! That's perfect. Thank you.
- joshka 15y agoPlease don't break the spacebar key acting as page down. The search text box takes all the key presses regardless of focus. I find this annoying in a 'breaks expectations' kind of way.
- AnupSavvy 15y agoIf its Solr or Lucene running underneath then you could use phonetic analyzer to get expected results if the spelling is not correct. I got results with'Steve Jobs'but when I tried 'Steve Jbs' I got no results. I would say getting close results is better than no results.
- jflatow 15y agoIt would be really great to have the ability to sort by hotness (i.e. get the top K hottest results (for a given search or not)).
- andres 15y agothe default relevance algorithm uses hotness to sort results
- mtw 15y agoI'd like a RSS for search result (want to subscribe to a topic and get a notification whenever it's mentionned here)
- zscally 15y agoit would be nice to see the next "start" point based off your limit / total hits this would make implementing pagination simple!
- pestaa 15y agoI'm not sure US users have noticed, but I can't use the service from Europe, Hungary. It just keeps connecting to the api, tested with latest Chrome and FF.
- andres 15y agoCan you access ThriftDB (http://www.thriftdb.com http://www.thriftdb.com)?
- ZackOfAllTrades 15y agoIf there are only a few options for a variable, could you have them be expressed as part of the object returned by http://api.thriftdb.com/api.hnsearch.com/items?pretty_print=true http://api.thriftdb.com/api.hnsearch.com/items?pretty_print=... Example: Type. Although it is a string, it isn't really a string field. It is a binary choice between two preset strings (comment or submission). It would make using the schema for things much easier.
- joe_bleau 15y agoWork with Opera?
- andres 15y agoAre you using 11.00? Other users have had problems accessing javascript-heavy sites with 11.00: http://superuser.com/questions/234110/websites-not-working-with-opera-11-00-major-bugs http://superuser.com/questions/234110/websites-not-working-w...
- RDDavies 15y agoSearch only titles, then order by points/date.
- andres 15y agoYou can use the "title:" operator to search in titles.
- tlvince 15y agoIt's minor but sticking to conventional operators would be helpful. For example, I find myself typing "intitle:" rather than "title:" out of habit.
- andres 15y agoI just added support for the "intitle:" operator.