最后活跃于 1728772725

knox 修订了这个 Gist 1728772725. 跳至此修订

1 file changed, 8 insertions

Typesense-readme-5.py(file created)

@@ -0,0 +1,8 @@
1 + search_parameters = {
2 + 'q' : 'stork',
3 + 'query_by' : 'company_name',
4 + 'filter_by' : 'num_employees:>100',
5 + 'sort_by' : 'num_employees:desc'
6 + }
7 +
8 + client.collections['companies'].documents.search(search_parameters)
更新 更早