hermes-client-python 1.8.148__tar.gz → 1.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/PKG-INFO +7 -5
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/README.md +6 -4
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/pyproject.toml +1 -1
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/.gitignore +0 -0
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/__init__.py +0 -0
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/client.py +0 -0
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/hermes_pb2.py +0 -0
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/hermes_pb2_grpc.py +0 -0
- {hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hermes-client-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0
|
|
4
4
|
Summary: Async Python client for Hermes search server
|
|
5
5
|
Project-URL: Homepage, https://github.com/SpaceFrontiers/hermes
|
|
6
6
|
Project-URL: Repository, https://github.com/SpaceFrontiers/hermes
|
|
@@ -145,10 +145,12 @@ See [query types](src/hermes_client_python/types.py) and the
|
|
|
145
145
|
```python
|
|
146
146
|
results = await client.search(
|
|
147
147
|
"articles",
|
|
148
|
-
query={
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
query={
|
|
149
|
+
"boolean": {
|
|
150
|
+
"must": [{"match": {"field": "title", "text": "search"}}],
|
|
151
|
+
"must_not": [{"term": {"field": "title", "term": "draft"}}],
|
|
152
|
+
}
|
|
153
|
+
},
|
|
152
154
|
fields_to_load=["title"],
|
|
153
155
|
)
|
|
154
156
|
```
|
|
@@ -121,10 +121,12 @@ See [query types](src/hermes_client_python/types.py) and the
|
|
|
121
121
|
```python
|
|
122
122
|
results = await client.search(
|
|
123
123
|
"articles",
|
|
124
|
-
query={
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
query={
|
|
125
|
+
"boolean": {
|
|
126
|
+
"must": [{"match": {"field": "title", "text": "search"}}],
|
|
127
|
+
"must_not": [{"term": {"field": "title", "term": "draft"}}],
|
|
128
|
+
}
|
|
129
|
+
},
|
|
128
130
|
fields_to_load=["title"],
|
|
129
131
|
)
|
|
130
132
|
```
|
|
File without changes
|
{hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/__init__.py
RENAMED
|
File without changes
|
{hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/client.py
RENAMED
|
File without changes
|
{hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/hermes_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{hermes_client_python-1.8.148 → hermes_client_python-1.9.0}/src/hermes_client_python/types.py
RENAMED
|
File without changes
|