国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

REQUESTSTATUS:異步呼叫的請求狀態(tài)

2018-01-05 11:41 更新

REQUESTSTATUS操作可以請求已提交的異步集合API(以下)調用的狀態(tài)和響應。此調用也用于清除存儲的狀態(tài)。

/admin/collections?action=REQUESTSTATUS&requestid=request-id

REQUESTSTATUS參數(shù)

requestid

用戶為請求定義的請求ID。這可以用來跟蹤提交的異步任務的狀態(tài)。該參數(shù)是必需的。

使用REQUESTSTATUS的例子

在該例中輸入:有效的請求ID

http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=1000

得到的輸出為:

<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">1</int>
  </lst>
  <lst name="status">
    <str name="state">completed</str>
    <str name="msg">found 1000 in completed tasks</str>
  </lst>
</response>

或者輸入:無效的請求ID

http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=1004

得到的輸出:

<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">1</int>
  </lst>
  <lst name="status">
    <str name="state">notfound</str>
    <str name="msg">Did not find taskid [1004] in any tasks queue</str>
  </lst>
</response>
以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號