manticoresoftware / manticoresoftware/go-sdk
How to specify a database
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 58
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I checkout all the file, I did not find an example on how to specify database. So I try to use Sphinxql() function directly, like
```
cl := manticore.NewClient()
cl.SetServer("localhost", 9312)
cl.Open()
foo, err := cl.Sphinxql("select * from kgall; show meta;")
fmt.Println(foo, err)
```
But I got " [ERROR 1064 (42000): unknown local table(s) 'kgall' in search request] " for response.
What should I do to do a query job.
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 with the SDK files and examples referenced by the reporter, then trace the Sphinxql call in the shown Go snippet. Determine how the client expects a database or search index to be specified and document a working query example, including the expected result or error handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation, search
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100