Skip to content

Commit a1b1f07

Browse files
committed
RDBC-999 Add missing WhereOptions to VectorSearchToken
1 parent 3c69a89 commit a1b1f07

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ravendb/documents/session/tokens/query_tokens/definitions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,10 @@ def __init__(
10091009
is_exact: bool = VectorSearch.DEFAULT_IS_EXACT,
10101010
task_name: str = None,
10111011
):
1012-
super().__init__(wrapped_field_name, WhereOperator.VECTOR_SEARCH, parameter_name)
1012+
where_options = WhereToken.WhereOptions()
1013+
where_options.exact = is_exact
1014+
1015+
super().__init__(wrapped_field_name, WhereOperator.VECTOR_SEARCH, parameter_name, where_options)
10131016
self._source_quantization_type = source_quantization_type
10141017
self._parameter_name = parameter_name
10151018

0 commit comments

Comments
 (0)