File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
openrag/components/indexer/vectordb Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -551,7 +551,6 @@ async def async_search(
551551
552552 # Join all parts with " and " only if there are multiple conditions
553553 expr = " and " .join (expr_parts ) if expr_parts else ""
554- filter_params = filter_params or {}
555554
556555 try :
557556 query_vector = await self .embedder .aembed_query (query )
@@ -568,7 +567,6 @@ async def async_search(
568567 },
569568 "limit" : top_k ,
570569 "expr" : expr ,
571- "expr_params" : filter_params ,
572570 }
573571 if self .hybrid_search :
574572 sparse_param = {
@@ -580,7 +578,6 @@ async def async_search(
580578 },
581579 "limit" : top_k ,
582580 "expr" : expr ,
583- "expr_params" : filter_params ,
584581 }
585582 reqs = [
586583 AnnSearchRequest (** vector_param ),
@@ -611,7 +608,6 @@ async def async_search(
611608 collection_name = self .collection_name ,
612609 output_fields = ["*" ],
613610 filter = expr ,
614- filter_params = filter_params ,
615611 ** vector_param ,
616612 )
617613
You can’t perform that action at this time.
0 commit comments