Skip to content

Wrong version num received for sphinixsearch #19

Description

@k0fi

As the docs states that [go-sdk] also may be used in many cases to access SphinxSearch daemon as well I tried this with Sphinx 2.2

using config file '/etc/sphinxsearch/sphinx.conf'...
listening on all interfaces, port=9312
listening on all interfaces, port=9306
precaching index 'test1'
precaching index 'test1stemmed'                             
precaching index 'rt' 

My code :

	cl := manticore.NewClient()
	cl.SetServer("127.0.0.1", 9306)
	cl.Open()

        res, err := cl.Sphinxql(`replace into test1 values(1,'my subject', 'my content', 15)`)
	fmt.Println(res, err)

But I get: [] Wrong version num received: 1258291200
I'm wondering if there is a problem with my code or go-sdk is not compatible with Sphinx 2.2 ?
And if the later is the case, which sphinx version is compatible with go-sdk?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions