def __init__(self, name, *fields, **kwargs):
        self.name = name
        self.fields = fields
        # I don't think 'and' joiner will be of any use here, nor will it work
        # without extra work on the filter (FullTextSearch filter implies an OR
        # query by default.
        assert kwargs.get('join') is not 'and', 'And joiner is not implemented!'
        self.query_joiner = 'or'
        #self.query_joiner = kwargs.get('join', 'and')

        self.search_in_field = kwargs.get('search_in_field')
        self.search_in_values = kwargs.get('search_in_values')
        assert self.search_in_field, 'Please specify search_in kwargs.'
        assert self.search_in_values, 'Please specify a search_in_values kwarg.'

        if self.query_joiner not in ['and', 'or']:
            raise TypeError(self.query_joiner % 'Unknown query joiner: %s')
dataset/ETHPy150Open ipeirotis/Mturk-Tracker/app/mturk/search/crud_extensions.py/FulltextSearchGroup.__init__/swapped operands of `%`