Filter by 'parent_sigid' or 'discusson.sigid'

80 views
Skip to first unread message

andres

unread,
Jun 8, 2011, 5:32:58 PM6/8/11
to HNSearch
We added two new attributes to the items collection: 'parent_sigid'
and 'discussion.sigid'. The parent_sigid is the signed id of a
comment's parent comment. The discussion sigid is the signed id of the
discussion that a comment is a part of.

Now you can search within a particular discussion. For example, here's
a search within the HNSearch Feature Request discussion:

http://api.thriftdb.com/api.hnsearch.com/items/_search?filter[fields][discussion.sigid]=2623009-f32d0&pretty_print=true

I'll update the HNSearch API docs shortly...

Andres

andres

unread,
Jun 9, 2011, 10:08:58 AM6/9/11
to HNSearch
I added 'parent_sigid' and 'discussion.sigid' to the docs:
http://www.hnsearch.com/api

Andres

lightyrs

unread,
Oct 25, 2011, 7:32:36 PM10/25/11
to hnse...@googlegroups.com
Don't know how I missed this earlier.  This is great.  Thanks, Andres.
Reply all
Reply to author
Forward
0 new messages