更新时间:2022-06-15 22:02:10
在您的示例中,您想使用 regexp
来使用 match
查询.为此,只需使用:
You are using a match
query in your example where you want to be using regexp
instead. To do this just use:
s = Search().query('regexp', name_gr='gr[12]')
s.execute()
希望这会有所帮助!