Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Changing result_class with xapian backend
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eamonn Faherty  
View profile  
 More options Jan 27, 6:24 am
From: Eamonn Faherty <eam...@ineedarobot.co.uk>
Date: Fri, 27 Jan 2012 03:24:55 -0800 (PST)
Local: Fri, Jan 27 2012 6:24 am
Subject: Changing result_class with xapian backend
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eamonn Faherty  
View profile  
 More options Jan 27, 6:38 am
From: Eamonn Faherty <eam...@ineedarobot.co.uk>
Date: Fri, 27 Jan 2012 03:38:06 -0800 (PST)
Local: Fri, Jan 27 2012 6:38 am
Subject: Re: Changing result_class with xapian backend
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.

On Jan 27, 11:24 am, Eamonn Faherty <eam...@ineedarobot.co.uk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »