Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Tools that help with tags, or issues with the API handling of tags.
1
vote
/tags search multiple words ("or") inname
For example, if I wanted tags that had either javascript or for-off, I'd first search for javascript(44 tags), then for for-off(2 tags), and then merge the results to get the 45 unique tag names. … :`);
console.log (tagNames);
} );
This gives results like:
Found: 2 tags:
Array [ "apps-for-office", "javascript-api-for-office" ]
Found: 44 tags:
Array [ "adobe-javascript", "amazon-javascript-sdk …
2
votes
Accepted
How to get the number/count/total of tags/badges/something from the API?
site=stackoverflow&filter=total, which currently returns:
{"total":6363}
For tags: /tags? … See the doc page for tags, for example.
IMPORTANT: The Tags page also shows synonyms and also a great many tags that have zero questions. …
2
votes
Accepted
Can I get the user's top percentile, for tags, using the API?
Also, it's not clear exactly how it's calculated:
Many tags are not eligible. (Number of questions? Total tag score?)
It might be that users with less than 200 rep are not counted. … ‡ Technically, you could do it for low traffic tags by downloading every question and answer for that tag. But this would take a while and also quickly bust your quota. …
1
vote
Accepted
Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?
The search path already allows more than 5 tags, and it uses OR logic. From the docs:
tagged and nottagged are semi-colon delimited list of tags. … (bold added)
Note that tags are separated with a semicolon, not a comma. So, you would use:
/2.1/search? …
1
vote
Accepted
How to Create a Multi-tag URI Request to /questions
From the /questions doc:
...use the tagged parameter with a semi-colon delimited list of tags. … This is an and contraint(sic), passing tagged=c;java will return only those questions with both tags... …
7
votes
2
answers
137
views
Should we "Burninate" the [stack-exchange] tag?
Compare to related tags like stackapps, stackoverflow, network-profile(not yet needed here but used on Meta Stack Exchange) -- which potentially can be used for Searching/Filtering/Classifying questions …
5
votes
Accepted
Should we "Burninate" the [stack-exchange] tag?
Based on a reasonable response for Stack Apps, this has now been done.
Merged stack-exchange into support (which many of the questions already had) and deleted support from those posts where it didn' …
1
vote
Accepted
How to calculate users, who have posted (question/answer) using specific tag?
parameters, will return question AND answer, user information:
...
{
"answers": [ {
"owner": { "user_id": 3675899 },
"is_accepted": true,
"score": 1,
"answer_id": 31881563
} ],
"tags …
1
vote
Accepted
How can I use the Stack Exchange API to get the total score on answers to questions with a s...
To do this you have to use the /users/{ids}/answers path to download all of a user's answers, and then filter out the tags and/or tot-up the scores from there. … It displays a user's tag scores for all his tags, with handy searching and sorting:
Here's the results for your Stack Overflow account.
See, also How to filter getAnswersForUser by tag? …
6
votes
The answer object returns an empty array for tags
That is, if your filter returns the tags array, it works:
"items": [ {
"tags": [ "batch-file", "cmd" ],
"answer_id": 42292030
}, {
"tags": [ "ios", "arrays", "swift" ],
"answer_id": … So, it won't make..."
}, {
"tags": [],
"answer_id": 42294953,
"body_markdown": "The git revert documentation provides the syntax like\r\n\r\n git revert [--[no-]..."
},
etc. …
2
votes
Accepted
What API do I call to measure popularity growth for specific tags over time?
More tags, or finer time slices, increases the time proportionally.
Also, you are allowed 10,000 API calls a day, max. … But it should be obvious how to extend it for more tags on each side. …
1
vote
Accepted
Getting questions that have a specific tag or tags?
For questions tagged with all tags in a list (AND operation), use the /questions path. … For example:
/questions#fromdate=2013-01-11&sort=activity&tagged=ruby;git
~~~~~
For questions tagged with any tags in a list (OR operation), use the /search path. …
2
votes
Accepted
Search for answers/comments under questions with certain tags using the Stack Overflow API?
You can try repeatedly polling the /events route, but then you'd have to query each new event to find the tags. It would get real messy, real quick. …
4
votes
Getting the top answerers/users for a tag in a custom time range?
The query: Top Answerers, by your tags and your date range takes your date range and up to 4 tags and lists the top-performing answers. …
1
vote
The API /tag stats are notably different from the site totals
You can see that the Tags page also shows Synonyms by:
Go to the Tags page.
Enter userscr in the Type to find tags: box. … Combining the API's /tags route and the /tags/synonyms route, I currently get:
42020 + 2442 = 44462
If you count up all the tags on the Tags page(s), I currently get:
4 columns
* 9 rows
* 1236 …