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 |
Use this tag if you have a question about the Sort parameter.
3
votes
Accepted
How to find questions that were posted or edited recently?
Pw)kHGLaaqdgnO19(Z_c)7lVTGqJzn
Ignore last_activity_date at this stage (it was useful for the sort in step 2). …
1
vote
Accepted
Absence of `order` and `sort` in rest calls?
Yes, much of the time, but:
Do not assume this is so, since it is never explicitly promised.
Some sortable routes do not even have an activity property (Example).
In this answer, the lead API de …
3
votes
Accepted
Is it possible to have no sorting - to just show results in order of inputted IDs?
This is a classic "procedural" (or "row based" or "sequential") versus "set based" issue. See Understanding “Set based” and “Procedural” approaches in SQL or any one of thousands of similar articles. …
3
votes
Accepted
Is there any way or script to sort questions/posts/answers with custom criteria?
You can filter (not sort) questions (and to some extent answers) by using the /search/advanced route of the API.
The q parameter allows most of the Advanced Search Options. … page=1&pagesize=100&q=score:50&answers=2&tagged=python&site=stackoverflow
Related questions:
How to sort /questions/featured by bounty_closes_date
Ability to sort answers by number of revisions via …
1
vote
Accepted
How to sort /questions/featured by bounty_closes_date
Sort the resulting array by bounty_closes_date in your own code.
Display to taste.
Done! …
2
votes
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending...
Other routes seem to sort by creation_date although sorting parameters are not supported by the route. …
2
votes
How to sort by the newest question?
Use the /questions path and sort by: creation, desc.
For example:
/2.1/questions?pagesize=15&order=desc&sort=creation&tagged=php&site=stackoverflow …