New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does suggest query support LANG search #9
Comments
Suggest should work yes. What do you have in Sonic debug logs? |
I use the v1.2.0 sonic deployed with docker images the log when suggest "黑龙江省":
|
Thanks. Filing a bug. Will process it when I have time. |
I'm having same issue on
|
@18601673727 are you sending Chinese characters in the command? Is that UTF-8 or UTF-8 extended or UTF-16? |
@valeriansaliou I'm sending Chinese characters via |
got the same issue 'query_error' when parsing Thai language in suggest method. |
Hello! SUGGEST does not support the LANG attr, as suggestions are langage unaware by design. |
got same issue on (DEBUG) - got channel message: SUGGEST origin title "鲁迅" LIMIT(10)
(DEBUG) - will dispatch search command: SUGGEST
(DEBUG) - parsed text parts (still needs post-processing): "鲁迅"
(DEBUG) - parsed text parts (post-processed): 鲁迅
(DEBUG) - dispatching search suggest #CVaH6tE2 on collection: origin and bucket: title
(DEBUG) - parsed meta part as: LIMIT = 10
(DEBUG) - handle suggest meta: LIMIT = 10
(DEBUG) - will suggest for #CVaH6tE2 with text: 鲁迅, limit: 10
(DEBUG) - not detecting locale from lexer text: 鲁迅
(DEBUG) - fst store acquired from pool for collection: origin (pool key: <8b732c7e>/<7932423e>)
(DEBUG) - lexer yielded word: 鲁
(DEBUG) - lexer yielded word: 迅
(DEBUG) - wrote response with values: ERR (query_error)
|
When push or query data, I use
{ LANG: "cmn" }
, It'sMandarin Chinese
, maybe the same asSimple Chinese
It's works well, testing data:
when use suggest:
got the error:
so, does suggest support LANG params query, thanks
The text was updated successfully, but these errors were encountered: