Open dbrgn opened 13 years ago
Actually the default mode gets set to 2 (SPH_RANK_NONE
).
>>> Company.search.query('UBS AG')._rankmode
2
That has a strong effect on search results.
Workaround is to set rankmode = u'SPH_RANK_PROXIMITY_BM25'
in the model's SphinxSearch instance.
In the sourcecode, I found
But when not setting
rankmode
in my model, ranking does not occur, all weight values are set to 1.