Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document boosting not supported #80

Open
mjl opened this issue Jul 14, 2011 · 3 comments
Open

Document boosting not supported #80

mjl opened this issue Jul 14, 2011 · 3 comments

Comments

@mjl
Copy link

mjl commented Jul 14, 2011

Document boosting is not supported with the xapian backend:

As per the docs I added things like this:

def prepare(self, obj):
    data = super(OfferSearchIndex, self).prepare(obj)
    data['boost'] = 1.25
    return data

to my SearchIndex subclasses, but the order / score of the results is totally unchanged.

@notanumber
Copy link
Owner

Not sure how this can be done with the current Xapian API. Will investigate further to see if it's possible, and how.

@ikks
Copy link

ikks commented Jan 19, 2015

+1 on this, it would be a nice feature to have, maybe it has some relation with weighting scheme #99 ?

@karolyi
Copy link
Contributor

karolyi commented Apr 4, 2018

any improvements on this? it's something I need too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants