Skip to content
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

Why can't I get a value using sonic.LangEng in search.Query #24

Open
summer-boythink opened this issue Feb 20, 2023 · 2 comments
Open

Comments

@summer-boythink
Copy link

As the title says
https://github.com/expectedsh/go-sonic/blob/master/cmd/example/main.go#L52
Why can't I get the value?
Is it due to sonic bug?
please let me know if anyone knows, thanks.

@KelwinTan
Copy link

yea, I am also getting an empty result... but if I searched using the keyword "Batman" it returned a result of "id:1m2n3b4vf6"...
Not sure what's really happening behind the search...

tried as well through the Sonic terminal using telnet and here are the results that I got


START search SecretPassword
STARTED search protocol(1) buffer(20000)
QUERY movies general "man" LIMIT(10)
PENDING SPUHA0zl
EVENT QUERY SPUHA0zl
QUEY movies general "batman" LIMIT(10)
ERR unknown_command
QUERY movies general "batman" LIMIT(10)
PENDING 30oFMLVW
EVENT QUERY 30oFMLVW id:1m2n3b4vf6
QUERY movies general "is another" LIMIT(10)
PENDING 16601Qzh
EVENT QUERY 16601Qzh
QUERY movies general "this is another" LIMIT(1)
PENDING 2tpSAvAW
EVENT QUERY 2tpSAvAW
QUERY movies general "this is another movie" LIMIT(1)
PENDING W2plriPD
EVENT QUERY W2plriPD id:68d96h5h9d0
QUERY movies general "this is another" LIMIT(10)
PENDING T3CZzqV0
EVENT QUERY T3CZzqV0
QUERY movies general "another" LIMIT(10)
PENDING 3i01gyRk
EVENT QUERY 3i01gyRk
QUIT
ENDED quit
Connection closed by foreign host.

@alexisvisco
Copy link
Member

Hello ! Sorry but the repository is not well maintained due to time, but @remicaumette and me are going to look at it soon.

Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants