def __pow__(self, value):
        try:
            float(value)
        except __HOLE__:
            raise ValueError("Non-numeric value supplied for boost")
        q = LuceneQuery()
        q.subqueries = [self]
        q._and = False
        q._pow = value
        return q
dataset/ETHPy150Open lugensa/scorched/scorched/search.py/LuceneQuery.__pow__