uni-im-conversation.index.json 2.7 KB
Newer Older
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
1
[{
DCloud_JSON's avatar
DCloud_JSON 已提交
2 3
    "IndexName": "user_id_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
4 5 6 7
      "MgoIndexKeys": [{
        "Name": "user_id",
        "Direction": "1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
8 9 10 11 12 13
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "friend_uid_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
14 15 16 17
      "MgoIndexKeys": [{
        "Name": "friend_uid",
        "Direction": "-1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
18 19 20 21 22 23
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "group_id_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
24 25 26 27
      "MgoIndexKeys": [{
        "Name": "group_id",
        "Direction": "-1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
28 29 30 31 32 33
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "update_time_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
34 35 36 37
      "MgoIndexKeys": [{
        "Name": "update_time",
        "Direction": "-1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
38 39 40 41 42 43
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "id_1_user_id_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
44
      "MgoIndexKeys": [{
DCloud_JSON's avatar
DCloud_JSON 已提交
45 46 47 48 49 50 51 52 53 54 55 56 57 58
          "Name": "user_id",
          "Direction": "-1"
        },
        {
          "Name": "id",
          "Direction": "-1"
        }
      ],
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "id_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
59 60 61 62
      "MgoIndexKeys": [{
        "Name": "id",
        "Direction": "-1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
63 64 65 66 67 68
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "leave_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
69 70 71 72
      "MgoIndexKeys": [{
        "Name": "leave",
        "Direction": "-1"
      }],
DCloud_JSON's avatar
DCloud_JSON 已提交
73 74 75 76 77 78
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "unread_count_1",
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
      "MgoIndexKeys": [{
        "Name": "unread_count",
        "Direction": "-1"
      }],
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "leave_1",
    "MgoKeySchema": {
      "MgoIndexKeys": [{
        "Name": "leave",
        "Direction": "-1"
      }],
      "MgoIsUnique": false
    }
  },
  {
    "IndexName": "loadMoreConversation_1",
    "MgoKeySchema": {
      "MgoIndexKeys": [{
          "Name": "user_id",
          "Direction": "-1"
        },
DCloud_JSON's avatar
DCloud_JSON 已提交
103
        {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
104 105 106 107 108 109 110 111 112 113 114 115 116
          "Name": "pinned",
          "Direction": "-1"
        },
        {
          "Name": "leave",
          "Direction": "-1"
        },
        {
          "Name": "hidden",
          "Direction": "-1"
        },
        {
          "Name": "update_time",
DCloud_JSON's avatar
DCloud_JSON 已提交
117 118 119 120 121 122 123
          "Direction": "-1"
        }
      ],
      "MgoIsUnique": false
    }
  },
  {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
124
    "IndexName": "loadMoreConversation_2",
DCloud_JSON's avatar
DCloud_JSON 已提交
125
    "MgoKeySchema": {
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
126 127 128 129 130 131 132 133
      "MgoIndexKeys": [{
          "Name": "user_id",
          "Direction": "-1"
        },
        {
          "Name": "pinned",
          "Direction": "-1"
        },
DCloud_JSON's avatar
DCloud_JSON 已提交
134 135 136
        {
          "Name": "leave",
          "Direction": "-1"
DCloud_JSON's avatar
3.4.31  
DCloud_JSON 已提交
137 138 139 140 141 142 143 144
        },
        {
          "Name": "hidden",
          "Direction": "-1"
        },
        {
          "Name": "last_msg_create_time",
          "Direction": "-1"
DCloud_JSON's avatar
DCloud_JSON 已提交
145 146 147 148 149 150
        }
      ],
      "MgoIsUnique": false
    }
  }
]