Skip to content

Commit b834f0d

Browse files
reran the generator
1 parent 565514f commit b834f0d

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

elasticsearch/_async/client/project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929

3030
class StreamsClient(NamespacedClient):
31+
3132
@_rewrite_parameters()
3233
@_stability_warning(Stability.EXPERIMENTAL)
3334
async def tags(

elasticsearch/_async/client/streams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030

3131
class StreamsClient(NamespacedClient):
32+
3233
@_rewrite_parameters()
3334
@_stability_warning(Stability.EXPERIMENTAL)
3435
async def logs_disable(

elasticsearch/_sync/client/project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929

3030
class StreamsClient(NamespacedClient):
31+
3132
@_rewrite_parameters()
3233
@_stability_warning(Stability.EXPERIMENTAL)
3334
def tags(

elasticsearch/_sync/client/streams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030

3131
class StreamsClient(NamespacedClient):
32+
3233
@_rewrite_parameters()
3334
@_stability_warning(Stability.EXPERIMENTAL)
3435
def logs_disable(

elasticsearch/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
__versionstr__ = "9.1.1"
19-
__es_specification_commit__ = "dc0c412b5167ba928968a06fa852e5663e032aa2"
19+
__es_specification_commit__ = "a889d1ab32d7259d418297bd2881be324b5991f1"

elasticsearch/dsl/query.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,8 @@ class Knn(Query):
10791079
a query_vector_builder or query_vector, but not both.
10801080
:arg num_candidates: The number of nearest neighbor candidates to
10811081
consider per shard
1082+
:arg visit_percentage: The percentage of vectors to explore per shard
1083+
while doing knn search with bbq_disk
10821084
:arg k: The final number of nearest neighbors to return as top hits
10831085
:arg filter: Filters for the kNN search query
10841086
:arg similarity: The minimum similarity for a vector to be considered
@@ -1107,6 +1109,7 @@ def __init__(
11071109
"types.QueryVectorBuilder", Dict[str, Any], "DefaultType"
11081110
] = DEFAULT,
11091111
num_candidates: Union[int, "DefaultType"] = DEFAULT,
1112+
visit_percentage: Union[float, "DefaultType"] = DEFAULT,
11101113
k: Union[int, "DefaultType"] = DEFAULT,
11111114
filter: Union[Query, Sequence[Query], "DefaultType"] = DEFAULT,
11121115
similarity: Union[float, "DefaultType"] = DEFAULT,
@@ -1122,6 +1125,7 @@ def __init__(
11221125
query_vector=query_vector,
11231126
query_vector_builder=query_vector_builder,
11241127
num_candidates=num_candidates,
1128+
visit_percentage=visit_percentage,
11251129
k=k,
11261130
filter=filter,
11271131
similarity=similarity,

0 commit comments

Comments
 (0)