diff options
author | Alec Warner <antarus@gentoo.org> | 2018-01-19 17:37:42 -0500 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2018-01-19 17:37:42 -0500 |
commit | bdf2545b7ceb3ed1b4359f3a7befd11bff9dfa36 (patch) | |
tree | 5c41c0e458cee5d65cc65979d0342e196de26144 | |
parent | Pull more elasticsearch gems forward. (diff) | |
download | packages-5-bdf2545b7ceb3ed1b4359f3a7befd11bff9dfa36.tar.gz packages-5-bdf2545b7ceb3ed1b4359f3a7befd11bff9dfa36.tar.bz2 packages-5-bdf2545b7ceb3ed1b4359f3a7befd11bff9dfa36.zip |
Boost factor is replaced by weight.
https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-function-score-query.html
-rw-r--r-- | lib/kkuleomi/store/models/package_search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kkuleomi/store/models/package_search.rb b/lib/kkuleomi/store/models/package_search.rb index c670f84..3b6be92 100644 --- a/lib/kkuleomi/store/models/package_search.rb +++ b/lib/kkuleomi/store/models/package_search.rb @@ -147,7 +147,7 @@ module Kkuleomi::Store::Models::PackageSearch [ { filter: { term: { category: 'virtual' } }, - boost_factor: 0.6 + weight: 0.6 } ] end |