-
Notifications
You must be signed in to change notification settings - Fork 8
Does suggest query support LANG search #9
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When push or query data, I use { LANG: "cmn" }, It's Mandarin Chinese, maybe the same as Simple Chinese
It's works well, testing data:
sonicChannelIngest.push("testing", "area_code", "230102", "黑龙江省哈尔滨市道里区", { LANG: "cmn" })
sonicChannelIngest.push("testing", "area_code", "230103", "黑龙江省哈尔滨市南岗区", { LANG: "cmn" })
sonicChannelIngest.push("testing", "area_code", "230104", "黑龙江省哈尔滨市道外区", { LANG: "cmn" })
# query
sonicChannelSearch.query("testing", "area_code", "黑龙江省", { LANG: "cmn" })
# result
["230102", "230103", "230104"]
when use suggest:
sonicChannelSearch.suggest("testing", "area_code", "黑龙江省")
got the error:
Error: { code: 'unexpected_error', message: 'query_error' }
so, does suggest support LANG params query, thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working