ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Questions about vector retrieval and keyword retrieval in es

Open muzhi1991 opened this issue 6 months ago • 2 comments

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

muzhi1991 avatar Aug 11 '24 07:08 muzhi1991