How to debug source code of Milvus to understand the hybrid queries execution path. #39617
Unanswered
rsrs2013
asked this question in
Q&A and General discussion
Replies: 1 comment
-
hi rs, When you do hybridSearch, start from Then on querynodes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Community,
I am trying to understand the milvus source code, especially the part of how search happens for a hybrid query. I found this discussion by @yhmo very useful link. It gave some starting point.
Now I am trying to go further and see how a hybrid query gets executed by using some LOG_INFO statements. I am having the following doubts:
SegmentInternalInterface::Search
in the segcore/segment_interface.cpp file, the control goes to theget_moved_result(PlanNode& node)
function in the ExecPlanNodeVisitor.h. And here the node.accept, virtual function is called based on the PlanNode type. So how to introduce LOG_INFO in the ExecPlanNodeVisitor.h ? This is because, it is a generated file. So it says Don't edit the code.-Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions