Changing result_class with xapian backend

25 views
Skip to first unread message

Eamonn Faherty

unread,
Jan 27, 2012, 6:24:55 AM1/27/12
to django-haystack
Hey,

I am using a xapian backend and would like to set my own result_class.

I have tried setting the result_class on my SearchQuerySet but it does
not have affect.

I have looked into the code and it doesnt look like the search
function within the xapian SearchBackend is passing the result class
to the BaseSearchBackend search function.

Is this stopping the code from working as I expect or am I doing
something wrong?

Eamonn Faherty

unread,
Jan 27, 2012, 6:38:06 AM1/27/12
to django-haystack
I found out what was wrong...

I was correct with it being a code issue. I was using version
1.1.5beta of xapian-haystack. I had to install the most recent version
where the change I needed had been made.

I hope this helps others.
Reply all
Reply to author
Forward
0 new messages