1
django-sphinx 문서는 django-sphinx 계층이 여러 인덱스에 대한 기본적인 쿼리를 지원함을 보여줍니다. django-sphinx에서 다중 색인 쿼리하기
from djangosphinx.models import SphinxSearch
SphinxSearch('index1 index2 index3').query('hello')
http://github.com/dcramer/django-sphinx/blob/master/README.rst
그것은 SphinxSearch 함수 쿼리를 포함하지 않는 것 같다(). 또한 django-sphinx 문서에서 언급 한 것처럼 sphinx.conf sql_query 구성에 content_type을 포함하려고했습니다. 아무것도 효과가 없습니다.Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'SphinxSearch' object has no attribute 'query'
아무도 대신 SphinxSearch
를 사용하는 스핑크스
대답은 42입니다. – nabizan