Skip to content

Commit bda6d1b

Browse files
committed
Regenerated the client
1 parent afc10a2 commit bda6d1b

21 files changed

+354
-71
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ docs/GeoDistance.md
2020
docs/GeoDistanceLocationAnchor.md
2121
docs/Highlight.md
2222
docs/HighlightFieldOption.md
23+
docs/HitsHits.md
2324
docs/IndexApi.md
2425
docs/InsertDocumentRequest.md
2526
docs/Join.md
@@ -41,6 +42,7 @@ docs/SearchRequest.md
4142
docs/SearchResponse.md
4243
docs/SearchResponseHits.md
4344
docs/SourceRules.md
45+
docs/SqlObjResponse.md
4446
docs/SqlResponse.md
4547
docs/SuccessResponse.md
4648
docs/UpdateDocumentRequest.md
@@ -73,6 +75,7 @@ manticoresearch/models/geo_distance.py
7375
manticoresearch/models/geo_distance_location_anchor.py
7476
manticoresearch/models/highlight.py
7577
manticoresearch/models/highlight_field_option.py
78+
manticoresearch/models/hits_hits.py
7679
manticoresearch/models/insert_document_request.py
7780
manticoresearch/models/join.py
7881
manticoresearch/models/join_cond.py
@@ -92,6 +95,7 @@ manticoresearch/models/search_request.py
9295
manticoresearch/models/search_response.py
9396
manticoresearch/models/search_response_hits.py
9497
manticoresearch/models/source_rules.py
98+
manticoresearch/models/sql_obj_response.py
9599
manticoresearch/models/sql_response.py
96100
manticoresearch/models/success_response.py
97101
manticoresearch/models/update_document_request.py
@@ -120,6 +124,7 @@ test/test_geo_distance.py
120124
test/test_geo_distance_location_anchor.py
121125
test/test_highlight.py
122126
test/test_highlight_field_option.py
127+
test/test_hits_hits.py
123128
test/test_index_api.py
124129
test/test_insert_document_request.py
125130
test/test_join.py
@@ -141,6 +146,7 @@ test/test_search_request.py
141146
test/test_search_response.py
142147
test/test_search_response_hits.py
143148
test/test_source_rules.py
149+
test/test_sql_obj_response.py
144150
test/test_sql_response.py
145151
test/test_success_response.py
146152
test/test_update_document_request.py

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020-2023, Manticore Software LTD
3+
Copyright (c) 2020-2025, Manticore Software LTD
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Сlient for Manticore Search.
44

55

6-
❗ WARNING: this is a development version of the client. The latest release's readme is https://github.com/manticoresoftware/manticoresearch-python/tree/7.0.0
6+
❗ WARNING: this is a development version of the client. The latest release's readme is https://github.com/manticoresoftware/manticoresearch-python/tree/8.0.0
77

88
## Requirements.
99

@@ -146,6 +146,7 @@ Class | Method | HTTP request | Description
146146
- [GeoDistanceLocationAnchor](docs/GeoDistanceLocationAnchor.md)
147147
- [Highlight](docs/Highlight.md)
148148
- [HighlightFieldOption](docs/HighlightFieldOption.md)
149+
- [HitsHits](docs/HitsHits.md)
149150
- [InsertDocumentRequest](docs/InsertDocumentRequest.md)
150151
- [Join](docs/Join.md)
151152
- [JoinCond](docs/JoinCond.md)
@@ -165,6 +166,7 @@ Class | Method | HTTP request | Description
165166
- [SearchResponse](docs/SearchResponse.md)
166167
- [SearchResponseHits](docs/SearchResponseHits.md)
167168
- [SourceRules](docs/SourceRules.md)
169+
- [SqlObjResponse](docs/SqlObjResponse.md)
168170
- [SqlResponse](docs/SqlResponse.md)
169171
- [SuccessResponse](docs/SuccessResponse.md)
170172
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)

docs/HitsHits.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# HitsHits
2+
3+
Search hit representing a matched document
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**id** | **int** | The ID of the matched document | [optional]
10+
**score** | **int** | The score of the matched document | [optional]
11+
**source** | **object** | The source data of the matched document | [optional]
12+
**knn_dist** | **float** | The knn distance of the matched document returned for knn queries | [optional]
13+
**highlight** | **object** | The highlighting-related data of the matched document | [optional]
14+
**table** | **str** | The table name of the matched document returned for percolate queries | [optional]
15+
**type** | **str** | The type of the matched document returned for percolate queries | [optional]
16+
**fields** | **object** | The percolate-related fields of the matched document returned for percolate queries | [optional]
17+
18+
## Example
19+
20+
```python
21+
from manticoresearch.models.hits_hits import HitsHits
22+
23+
# create an instance of HitsHits from a JSON string
24+
hits_hits_instance = HitsHits.from_json(json)
25+
# print the JSON string representation of the object
26+
print(HitsHits.to_json())
27+
28+
# convert the object into a dict
29+
hits_hits_dict = hits_hits_instance.to_dict()
30+
# create an instance of HitsHits from a dict
31+
hits_hits_from_dict = HitsHits.from_dict(hits_hits_dict)
32+
```
33+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
34+
35+

docs/SearchResponseHits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**max_score** | **int** | Maximum score among the matched documents | [optional]
1010
**total** | **int** | Total number of matched documents | [optional]
1111
**total_relation** | **str** | Indicates whether the total number of hits is accurate or an estimate | [optional]
12-
**hits** | **List[object]** | Array of hit objects, each representing a matched document | [optional]
12+
**hits** | [**List[HitsHits]**](HitsHits.md) | Array of hit objects, each representing a matched document | [optional]
1313

1414
## Example
1515

docs/SqlObjResponse.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SqlObjResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**hits** | **object** | |
9+
**took** | **float** | | [optional]
10+
**timed_out** | **bool** | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from manticoresearch.models.sql_obj_response import SqlObjResponse
16+
17+
# create an instance of SqlObjResponse from a JSON string
18+
sql_obj_response_instance = SqlObjResponse.from_json(json)
19+
# print the JSON string representation of the object
20+
print(SqlObjResponse.to_json())
21+
22+
# convert the object into a dict
23+
sql_obj_response_dict = sql_obj_response_instance.to_dict()
24+
# create an instance of SqlObjResponse from a dict
25+
sql_obj_response_from_dict = SqlObjResponse.from_dict(sql_obj_response_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/SqlResponse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ List of responses from executed SQL queries
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9+
**hits** | **object** | |
10+
**took** | **object** | | [optional]
11+
**timed_out** | **object** | | [optional]
912

1013
## Example
1114

manticoresearch/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "7.0.0"
18+
__version__ = "8.0.0"
1919

2020
# import apis into sdk package
2121
from manticoresearch.api.index_api import IndexApi
@@ -50,6 +50,7 @@
5050
from manticoresearch.models.geo_distance_location_anchor import GeoDistanceLocationAnchor
5151
from manticoresearch.models.highlight import Highlight
5252
from manticoresearch.models.highlight_field_option import HighlightFieldOption
53+
from manticoresearch.models.hits_hits import HitsHits
5354
from manticoresearch.models.insert_document_request import InsertDocumentRequest
5455
from manticoresearch.models.join import Join
5556
from manticoresearch.models.join_cond import JoinCond
@@ -69,6 +70,7 @@
6970
from manticoresearch.models.search_response import SearchResponse
7071
from manticoresearch.models.search_response_hits import SearchResponseHits
7172
from manticoresearch.models.source_rules import SourceRules
73+
from manticoresearch.models.sql_obj_response import SqlObjResponse
7274
from manticoresearch.models.sql_response import SqlResponse
7375
from manticoresearch.models.success_response import SuccessResponse
7476
from manticoresearch.models.update_document_request import UpdateDocumentRequest

0 commit comments

Comments
 (0)