ragflow
ragflow copied to clipboard
[Question]: Questions about vector retrieval and keyword retrieval in es
Describe your problem
I noticed that es was used as a hybrid search solution (combining keyword search and vector search) in the project. In a simple test case, I found that es often failed to recall any results. When I read the code, I found that the vector search here used the query filter (the prerequisite of 60% keyword hits), which seemed to weaken the effect of the vector search. Why did you consider doing this? Or did I misunderstand?
https://github.com/infiniflow/ragflow/blob/fdd5b1b8cf58e3808cb3d47fd0731be40fc32d97/rag/nlp/search.py#L132