mirror of
https://github.com/d0zingcat/opensearch-orm.git
synced 2026-05-13 23:16:52 +00:00
Update README.md
This commit is contained in:
@@ -96,7 +96,7 @@ group by path and count unique remote_ip.
|
||||
|
||||
``` python
|
||||
with SearchSession() as session:
|
||||
# aggregate text must need use a keyword field instead
|
||||
# aggregate text field need use a keyword field instead
|
||||
# request_timeout argument will be passed on to the opensearch-py
|
||||
result = (
|
||||
session.select(UserLog)
|
||||
@@ -104,4 +104,4 @@ with SearchSession() as session:
|
||||
)
|
||||
print(result)
|
||||
# result -> {'path': 1, 'path2': 2}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user