manticoresoftware / manticoresoftware/go-sdk
Failed to read searchd response
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 58
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
RunQuery returns error if index is not "*". See an example below:
package main
import (
"fmt"
"github.com/manticoresoftware/go-sdk/manticore"
)
func main() {
cl := manticore.NewClient()
cl.SetServer("manticore.host.com", 9308)
fmt.Println(cl.RunQuery(manticore.NewSearch("avatar", "myindex_idx", "")))
}
The output is <nil> failed to read searchd response (status=0, ver=289, len=18103, read=4027)
go-sdk version: v0.0.0-20200819180014-70a49dc3179d
Manticore version: 3.5.4-210107-f70faec5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at RunQuery and reproduce the example against a named index rather than "*". Trace the searchd response-reading path to determine why the returned response is incomplete; done means the example reads the full response without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100