

def BooleanQuery(required, should, prohibited):
    return AndNot(AndMaybe(And(required), Or(should)), Or(prohibited)).normalize()

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py BooleanQuery/original