We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Found it the after a long testing elastic/elasticsearch#4664 The test in the repo is most likely to fail. Here is more relevant information with a possible workaround: https://stackoverflow.com/questions/25313611/elasticsearch-boost-deprecated-any-alternative
The boost should affect the output score when the value is set in def prepare
def prepare
No change in the search result. This works in ES 1.X with '_boost'
Typical
HAYSTACK_CONNECTIONS = { "default": { "ENGINE": "haystack_elasticsearch.elasticsearch5.Elasticsearch5SearchEngine", "URL": "http://127.0.0.1:9200/", "INDEX_NAME": "haystack", "INCLUDE_SPELLING": True, }, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Found it the after a long testing
elastic/elasticsearch#4664
The test in the repo is most likely to fail. Here is more relevant information with a possible workaround:
https://stackoverflow.com/questions/25313611/elasticsearch-boost-deprecated-any-alternative
Expected behaviour
The boost should affect the output score when the value is set in
def prepare
Actual behaviour
No change in the search result. This works in ES 1.X with '_boost'
Steps to reproduce the behaviour
def prepare(self, obj):
data = super(ArticleIndex, self).prepare(obj)
data['boost'] = obj.cached_hotness
return data
Configuration
Typical
The text was updated successfully, but these errors were encountered: