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

demos using the golang sdk #13

Open
ghost opened this issue Apr 15, 2020 · 6 comments
Open

demos using the golang sdk #13

ghost opened this issue Apr 15, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 15, 2020

Hi,

Hope you are all well !

We are coding mainly in Golang and we would like to use it more but it lacks of golang examples as most of them are in php.

Is it possible to have some golang examples ? for example the one for faceting or word suggestions.

Our main projet is a clone of wordpress in golang and we would like to integrate manticoresearch as a full-text engine.
Ref: https://github.com/qorpress/qorpress

Thanks in advance for your inputs and insights on that topic.

Cheers,
X

@manticoresearch
Copy link
Contributor

Hi @x0rzkov

We have limited Go development resources in our core team. As you know we have this SDK based on Manticore binary protocol (which is quite difficult to maintain) which was developed some time ago. After that we made some tests and figured out that the binary protocol eliminates some overheads, but in general using HTTP is also fine. So we made the new JSON-over-HTTP based client for PHP - github.com/manticoresoftware/manticoresearch-php/.

The plan is to do the same for Go, so contributors like you can help with maintaining the client easier. But I can't say when it will happen. If you'd like to help with that we'll be glad to assist you with that: provide the specification etc. Unlike writing a binary-based client using json-over-http is much easier, mostly that's just a wrapper for HTTP queries.

Otherwise we can also provide you with SQL/HTTP examples. Just let us know what exactly is not clear.

@ghost
Copy link

ghost commented Apr 15, 2020

Yes, provide us the specs and we will see what we can do.

Maybe we can do some magic with https://github.com/dghubble/sling

@manticoresearch
Copy link
Contributor

We are working on the spec. I've created a new repo https://github.com/manticoresoftware/manticoresearch-go and there's an issue about the spec - manticoresoftware/manticoresearch-go#1

@ghost
Copy link
Author

ghost commented Apr 16, 2020

I've already starred and watching the repo. Waiting for the specs.

@ghost
Copy link
Author

ghost commented Apr 16, 2020

Do you have a swagger file ?

@githubmanticore
Copy link
Collaborator

➤ Sergey Nikolaev commented:

No, we don't.

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

2 participants