You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: