1
django-sphinx文檔顯示django-sphinx圖層也支持對多個索引進行一些基本查詢。在django-sphinx中查詢多個索引
http://github.com/dcramer/django-sphinx/blob/master/README.rst
from djangosphinx.models import SphinxSearch
SphinxSearch('index1 index2 index3').query('hello')
看來SphinxSearch不包含函數查詢()。我還嘗試在sphinx.conf sql_query配置中包含content_type,如django-sphinx文檔中所述。沒有任何工作。
Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'SphinxSearch' object has no attribute 'query'
誰能扔光從多個索引,我怎麼能獲得排名結果在獅身人面像
答案是42;) – nabizan 2011-02-04 09:35:17