开发者社区> 问答> 正文

开放搜索查询结果不对

我使用sdk接口修改了文档后,调用查询接口查询返回的还是修改之前的数据。为此我还重建了索引,但依然没解决问题。

修改文档的报文:
{

tableName=goodsbrand,
jsonData=[ 
   {
    "cmd": "update",
    "fields": {
        "id": "8aafdb4751a951700151a98058bf0002",
        "discountflag": "1.1",
        "b_name": "卓玛",
        "recommand": "0"
    }
} 
]

}

查询结果报文

{

total=1,
viewtotal=1,
num=1,
itemList=[{
    spec=1.52*30(米/卷),
    sort=3,
    remark=,
    status=1,
    img=,
    brandid=8aafdb4751a951700151a98058bf0002,
    pid=ff8080814f73b2b4014f82eee5b41159,
    type=<em>ZM-8809</em>,
    c_name=太阳膜,
    id=ff808081519fc4ef0151a45b1d7e4c80,
    index_name=mallsearch_test,
    discountflag=1.5,
    salenums=31,
    b_name=卓玛,
    categoryid=ff80808153a7241a0153a7cfa3c90014,
    isshow=1,
    price=30.0,
    name=卓玛汽车·楼宇隔热膜,
    recommand=0,
    goodsparams=侧挡

$$ }] }{ "data": { "maxPage": "1", "type": "AliSearchUtil", "itemList": [{ "spec": "1.52*30(米/卷)", "sort": "3", "remark": "", "status": "1", "img": "", "brandid": "8aafdb4751a951700151a98058bf0002", "pid": "ff8080814f73b2b4014f82eee5b41159", "type": "ZM-8809", "c_name": "太阳膜", "id": "ff808081519fc4ef0151a45b1d7e4c80", "index_name": "mallsearch_test", "discountflag": "1.5", "salenums": "31", "b_name": "卓玛", "categoryid": "ff80808153a7241a0153a7cfa3c90014", "isshow": "1", "price": "30.0", "name": "卓玛汽车·楼宇隔热膜", "recommand": "0", "goodsparams": "侧挡 $$

"

    }]
},
"state": "0"

}

展开
收起
湘水渔樵 2016-04-20 15:00:52 2653 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
《开放搜索统一召回引擎实践》 立即下载
《开放搜索查询分析服务架构分享》 立即下载
《开放搜索在智能化行业搜索和业务增长领域的应用实践》 立即下载