What does the migrated
parameter to the advanced_search
method mean? Setting it to true on CS finds only one question that has been migrated away, out of several:
{
"items": [
{
"question_id": 2522,
"creation_date": 1340853778,
"last_activity_date": 1340854916,
"locked_date": 1340859540,
"score": 0,
"answer_count": 0,
"migrated_to": {
"question_id": 11238316,
"other_site": {
"site_type": "main_site",
"name": "Stack Overflow",
…
},
"on_date": 1340859540
},
"closed_date": 1340859536,
"title": "Java Question about Setting a Word as a Variable",
"tags": [
"java"
],
"closed_reason": "off topic",
"view_count": 15,
"owner": {
"user_id": 1993,
"display_name": "Andy",
"reputation": 1,
"user_type": "unregistered",
"profile_image": "http://www.gravatar.com/avatar/3bb5d5e41932ae3040ec4db74d795694?d=identicon&r=PG",
"link": "http://cs.stackexchange.com/users/1993/andy"
},
"link": "http://cs.stackexchange.com/questions/2522/java-question-about-setting-a-word-as-a-variable",
"is_answered": false
}
],
"quota_remaining": 9949,
"quota_max": 10000,
"has_more": false
}
Setting it to false doesn't eliminate all questions that are migrated away nor all questions that were migrated in. From https://api.stackexchange.com/2.1/search/advanced?order=desc&sort=creation&closed=True&migrated=False&site=cs (excerpted):
{
"question_id": 2852,
"migrated_to": {
"question_id": 2546,
"other_site": {
"site_type": "main_site",
"name": "Academia",
},
"on_date": 1342899193
},
"closed_date": 1342899193,
"link": "http://cs.stackexchange.com/questions/2852/what-are-some-proven-methods-for-keeping-track-of-research-and-programming-in-a",
"is_answered": false
},
{
"question_id": 2573,
"migrated_from": {
"question_id": 164947,
"other_site": {
"site_type": "main_site",
"name": "Mathematics",
},
"on_date": 1341174776
},
"closed_date": 1341826160,
"link": "http://cs.stackexchange.com/questions/2573/proof-of-np-completeness-of-graph-isomorphism-through-edge-contractions-that-red",
"is_answered": false
},