mirror of
https://github.com/Hopiu/xapian-haystack.git
synced 2026-03-16 22:20:31 +00:00
Fixed code error (tests were not passing).
This commit is contained in:
parent
bb74dae2c0
commit
107e81be2d
1 changed files with 2 additions and 1 deletions
|
|
@ -1062,7 +1062,8 @@ class XapianSearchQuery(BaseSearchQuery):
|
|||
if self.boost:
|
||||
subqueries = [
|
||||
xapian.Query(
|
||||
xapian.Query.OP_SCALE_WEIGHT, self._content_field(term, False), value
|
||||
xapian.Query.OP_SCALE_WEIGHT,
|
||||
self._term_query(term, None, None), value
|
||||
) for term, value in self.boost.iteritems()
|
||||
]
|
||||
query = xapian.Query(
|
||||
|
|
|
|||
Loading…
Reference in a new issue