Commit 8a5a3a3d4c359b8db5cbb97657517eadf812acc6
1 parent
775ef237
indexer doc
Showing
1 changed file
with
1 additions
and
11 deletions
Show diff stats
docs/搜索API对接指南.md
| @@ -965,17 +965,7 @@ cat logs/indexer.log | jq 'select(.operation == "request_complete") | {timestamp | @@ -965,17 +965,7 @@ cat logs/indexer.log | jq 'select(.operation == "request_complete") | {timestamp | ||
| 965 | 965 | ||
| 966 | #### 请求示例 | 966 | #### 请求示例 |
| 967 | 967 | ||
| 968 | -**单个SPU增量索引**: | ||
| 969 | -```bash | ||
| 970 | -curl -X POST "http://localhost:6002/indexer/index" \ | ||
| 971 | - -H "Content-Type: application/json" \ | ||
| 972 | - -d '{ | ||
| 973 | - "tenant_id": "162", | ||
| 974 | - "spu_ids": ["123"] | ||
| 975 | - }' | ||
| 976 | -``` | ||
| 977 | - | ||
| 978 | -**批量SPU增量索引**: | 968 | +**SPU增量索引**: |
| 979 | ```bash | 969 | ```bash |
| 980 | curl -X POST "http://localhost:6002/indexer/index" \ | 970 | curl -X POST "http://localhost:6002/indexer/index" \ |
| 981 | -H "Content-Type: application/json" \ | 971 | -H "Content-Type: application/json" \ |