def build_anytext(name, value):
    """
    deconstructs free-text search into CQL predicate(s)

    :param name: property name
    :param name: property value

    :returns: string of CQL predicate(s)
    """

    predicates = []
    tokens = value.split()

    if len(tokens) == 1:  # single term
        return f"{name} LIKE '%{value}%'"

    for token in tokens:
        predicates.append(f"{name} LIKE '%{token}%'")

    return f"({' AND '.join(predicates)})"