In my models, when I refer to SphinxSearch with defaults like:
from djangosphinx.models import SphinxSearch
class Blog(models.Model):
...
search = SphinxSearh()
the fulltext search works fine. But when I give weights
attribute as documented:
search = SphinxSearch(
weights={'title': 10, 'body': 5, 'tags': 10}
)
searches raise: SphinxClient instance has no attribute 'SetFieldWeights'
I must be missing something obvious as I seem to be the only one with this problem after Googling. Any help is much appreciated.