fix: filter bug for keywork cause code can not reach (#11666)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
pull/11669/head
yihong 1 year ago committed by GitHub
parent a725b8bb6e
commit 22258fb0bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -424,7 +424,7 @@ def default_vector_search_query(
) -> dict:
if filters is not None:
filter_type = "post_filter" if filter_type is None else filter_type
if not isinstance(filter, list):
if not isinstance(filters, list):
raise RuntimeError(f"unexpected filter with {type(filters)}")
final_ext = {"lvector": {}}
if min_score != "0.0":

Loading…
Cancel
Save