def demote(self, amount_, *queries, **kw):
        q = Q()
        for query in queries:
            q += query
        q += Q(**kw)

        return self._clone(next_step=('demote', (amount_, q)))
Returns a new S instance with boosting query and demotion.
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/__init__.py/S.demote