Timeline for How do I find all questions/answers per a tag?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2015 at 15:13 | comment | added | Lutz Prechelt | @marcamillion As of today I see 1160 pages of tags on SO. At 30 tags each that is 34,800 tags total. | |
Feb 22, 2013 at 22:40 | comment | added | marcamillion | How do I get the number of tags on the system? I have gone through 1800 tags so far - are there really that many tags on SO? | |
Feb 21, 2013 at 22:08 | vote | accept | marcamillion | ||
Feb 21, 2013 at 18:24 | comment | added | marcamillion | Ahh ok....so I guess the same thing applies to comments. | |
Feb 21, 2013 at 18:17 | comment | added | Kevin Montrose |
Only questions have tags, if you want answers to tagged questions you have to come at them from a question direction. For /questions or /search you can add question.answers to your filter to get the answers along with the question (as they're not included in the default filter). .total likewise isn't included by default. Maximum pagesize is 100, if you need more than 100 results you have to make multiple requests.
|
|
Feb 20, 2013 at 23:48 | comment | added | marcamillion |
What about answers & comments? I am using Serel, and I figured out the best way to achieve this for questions is something like this: Serel::Question.search.tagged('Ruby').pagesize(10).sort('votes') . But answers won't allow the search method for whatever reason. Also, how do I receive more results than just pagesize(100) ? Once I try going to 101 it returns 0 . I also tried has_more and that didn't work. For instance, I was trying to retrieve all the tags by doing Serel::Tag.total and that returned NoMethodError: undefined method 'total' for #<Serel::Relation:0x007f8d53a8fab0>
|
|
Feb 20, 2013 at 17:32 | history | answered | Kevin Montrose | CC BY-SA 3.0 |