def regex(self, field: str, pattern: str, case_insensitive: bool = False, multiline: bool = False, dot_all: bool = False, verbose: bool = False): """Shortcut """ return self.add( qu.And( qu.Regex(field, pattern, case_insensitive, multiline, dot_all, verbose)))
def text(self, search: str, language: str = None): """Shortcut """ return self.add(qu.And(qu.Text(search, language)))
def ninc(self, field: str, arg): """Shortcut """ return self.add(qu.And(qu.Nin(field, arg)))
def lte(self, field: str, arg): """Shortcut """ return self.add(qu.And(qu.Lte(field, arg)))
def gt(self, field: str, arg): """Shortcut """ return self.add(qu.And(qu.Gt(field, arg)))
def eq(self, field: str, arg): """Shortcut """ return self.add(qu.And(qu.Eq(field, arg)))