Boosts a certain aspect of the query.
(self, term, boost)
| 392 | return clone |
| 393 | |
| 394 | def boost(self, term, boost): |
| 395 | """Boosts a certain aspect of the query.""" |
| 396 | clone = self._clone() |
| 397 | clone.query.add_boost(term, boost) |
| 398 | return clone |
| 399 | |
| 400 | def facet(self, field, **options): |
| 401 | """Adds faceting to a query for the provided field.""" |