Commit 66234c6ea50ffca53a1abcf256ba029070ba4603
1 parent
70c32c17
全文检索增量查询
Showing
1 changed file
with
71 additions
and
0 deletions
03.发布云/5.1 全文检索增量检索接口.md
0 → 100644
| 1 | +/* Title: 5.1 全文检索增量检索接口 */ | ||
| 2 | +### 全文检索增量检索接口 | ||
| 3 | +----- | ||
| 4 | +#### URL:http://so.cnlive.com/zgw/so/incsearch?json= | ||
| 5 | +----- | ||
| 6 | +#### 请求方式: POST | ||
| 7 | +----- | ||
| 8 | +#### 参数说明: | ||
| 9 | +<table class="table table-bordered table-striped table-condensed"> | ||
| 10 | + <tr> | ||
| 11 | + <th>参数</th> | ||
| 12 | + <th>必选</th> | ||
| 13 | + <th>类型</th> | ||
| 14 | + <th>说明</th> | ||
| 15 | + </tr> | ||
| 16 | + <tr> | ||
| 17 | + <td>spid</td> | ||
| 18 | + <td>true</td> | ||
| 19 | + <td>string</td> | ||
| 20 | + <td>服务提供商ID</td> | ||
| 21 | + </tr> | ||
| 22 | + <tr> | ||
| 23 | + <td>columnid</td> | ||
| 24 | + <td>false</td> | ||
| 25 | + <td>string</td> | ||
| 26 | + <td>栏目ID</td> | ||
| 27 | + </tr> | ||
| 28 | + <tr> | ||
| 29 | + <td>type</td> | ||
| 30 | + <td>false</td> | ||
| 31 | + <td>string</td> | ||
| 32 | + <td>内容类型</td> | ||
| 33 | + </tr> | ||
| 34 | + <tr> | ||
| 35 | + <td>timestamp</td> | ||
| 36 | + <td>true</td> | ||
| 37 | + <td>string</td> | ||
| 38 | + <td>请求时间戳(精确到毫秒)</td> | ||
| 39 | + </tr> | ||
| 40 | + <tr> | ||
| 41 | + <td>sign</td> | ||
| 42 | + <td>true</td> | ||
| 43 | + <td>string</td> | ||
| 44 | + <td>签名</td> | ||
| 45 | + </tr> | ||
| 46 | +</table> | ||
| 47 | + | ||
| 48 | +----- | ||
| 49 | +#### 返回格式说明: | ||
| 50 | +``` | ||
| 51 | +{ | ||
| 52 | + errorCode:"0", | ||
| 53 | + errorMsg:"成功", | ||
| 54 | + data[{ | ||
| 55 | + contentID:780843, | ||
| 56 | + spID:"221", | ||
| 57 | + appID:"***", | ||
| 58 | + mediaId:"221_647d1fcb1c5c4dd6b64904cce1448dc5", | ||
| 59 | + title:"测试", | ||
| 60 | + subTitle:"测试", | ||
| 61 | + type:"program", | ||
| 62 | + columnID:"ent/", | ||
| 63 | + lastModifyDate:"1481687535501", | ||
| 64 | + }...] | ||
| 65 | +} | ||
| 66 | +{ | ||
| 67 | + errorCode:"xxx", //错误代码(非0) | ||
| 68 | + errorMsg:"失败" //错误信息 | ||
| 69 | +} | ||
| 70 | + | ||
| 71 | +``` | ||
| 0 | \ No newline at end of file | 72 | \ No newline at end of file |