Is it possible to use SearchQuerySet and limit the results to only a specific indexed model? If I add Note and NoteIndex to Haystack, can I only output results that correspond to Note instances?
EDIT:
I looked and found that there is a reserved field called django_ct, which is stored on each indexed model. Can I filter in this field? What values ββare required?
DOUBLE EDITING:
Nevermind After reading the Haystack source code, django_ct is the "appname.modelname" inside and can be requested using SearchQuerySet.filter (django_ct = 'appname.modelname')
source share