To facilitate better answering of questions, if you have a question, please fill in the following questions. Otherwise, please delete the template.
I Want to Do
I want to add other filtering conditions based on the root query connection ‘@ filter’, but it is much slower than the unconnected one.
I want to know whether ‘@ filter’ is based on the root query ‘func’ for filtering or concurrent filtering and then taking the intersection?
What I Did
On the data volume of 1 million nodes, the connection ‘@ filter’ query takes 51 ms, while the unconnected query only takes 2 ms.
I was looking for a trace of the log with Jaeger. Could you try out Jaeger as mentioned at https://dgraph.io/docs/deploy/tracing/#examining-traces-with-jaeger and see if you can find the query trace? You should set the --trace flag of Alpha to a high value temporarily (say 0.5) to be able to track the query that is slow.
I’m sorry, because I didn’t reply in time for some other things. I’ll try to build Jaeger in the future to check the query information, and I’ll synchronize you when there is progress.