How to combine sphinxquerysets in djang-sphinx

Posted by mlissner on Stack Overflow See other posts from Stack Overflow or by mlissner
Published on 2010-04-17T02:50:14Z Indexed on 2010/04/17 2:53 UTC
Read the original article Hit count: 372

Filed under:
|
|

querysets from django can be combined with a pipe like so:

q1 = Articles.objects.filter(name="goats")
q2 = Articles.objects.filter(name='cows')

q1 = q1|q2.

Is there a way to do this for sphinxquerysets? So far, I'm striking out.

© Stack Overflow or respective owner

Related posts about sphinx

Related posts about django-sphinx