Dans mes modèles, quand je parle de sphinxsearch valeurs par défaut comme:django-sphynx: instance SphinxClient n'a pas d'attribut 'setFieldWeights'
from djangosphinx.models import SphinxSearch
class Blog(models.Model):
...
search = SphinxSearh()
recherche textuelle fonctionne très bien. Mais quand je donne weights
attribut comme documenté:
search = SphinxSearch(
weights={'title': 10, 'body': 5, 'tags': 10}
)
recherches soulèvent: SphinxClient instance has no attribute 'SetFieldWeights'
Je dois manquer quelque chose d'évident que je semble être le seul à avoir ce problème après recherche sur Google. Toute aide est très appréciée.