sphinxapi icon indicating copy to clipboard operation
sphinxapi copied to clipboard

AssertionError

Open jaskaran87 opened this issue 8 years ago • 1 comments

I did not get how to use this, Can you please give any documentation, I have implement sphinx search in php now i am going to implement this in python but geting error

python3

import sphinxapi

client = sphinxapi.SphinxClient()

client.SetServer('127.0.0.1',9312)

client.Query("english","language_index")

geting error Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.4/dist-packages/sphinxapi/init.py", line 579, in Query assert (len(self._reqs) == 0) AssertionError

Please can anyone help me to sort this

jaskaran87 avatar Apr 18 '17 09:04 jaskaran87

This repo is something like 6 years out of date—it's definitely never been tested with Python 3. Originally it was just a pip-installable mirror of another source, but unfortunately I can't find it on sphinxsearch.com anymore.

It's probably best to try to find a more up-to-date Python client, or maybe fork this and update it. Unfortunately I'm not able to spend time on this one anymore.

jsocol avatar Apr 18 '17 12:04 jsocol