mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-09 20:39:29 +02:00
fix
This commit is contained in:
parent
c6f08cd1cd
commit
1954164ec4
@ -311,10 +311,7 @@ def search_chunks(
|
||||
)
|
||||
|
||||
# Keyword Search should never do reranking, no transformers involved in this flow
|
||||
if (
|
||||
query.search_type == SearchType.KEYWORD
|
||||
or query.search_type == SearchType.HYBRID
|
||||
):
|
||||
if query.search_type == SearchType.KEYWORD:
|
||||
_log_top_chunk_links(query.search_type.value, top_chunks)
|
||||
return top_chunks, None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user