(self, boost)
return q
Returns a COPY of this query with the boost set to the given value.

        If a query type does not accept a boost itself, it will try to pass the
        boost on to its children, if any.
Returns a COPY of this query with the boost set to the given value.
Returns a COPY of this query with the boost set to the given value .
def with_boost(self, boost):
        """Returns a COPY of this query with the boost set to the given value.

        If a query type does not accept a boost itself, it will try to pass the
        boost on to its children, if any.
        """

        q = self.copy()
        q.boost = boost
        return q
def with_boost ( self , boost ) : q = self . copy ( ) q . boost = boost return q