There are a lot of times when I just need to make sure that a result exists 
and perform some action according to that, but I have to call 
self.results.count() and check it's value. It seems like an unnecessary 
extra query to me. Django's querysets solve this by using queryset.exists() 
<https://docs.djangoproject.com/en/1.10/ref/models/querysets/#django.db.models.query.QuerySet.exists>,
 
does haystack have an equivalent method?

-- 
You received this message because you are subscribed to the Google Groups 
"django-haystack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-haystack+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to