Currently, the radix tree will insert a root node as the first "subtree". The node value is INT32_MAX. So when query a token list, it need to insert INT32_MAX to the begin of the token list. We need to refactor radix tree to avoid it. e.g.:
Make compare of root node as a builtin function in raxLowWalk
or
Use another field to represent the rooted tree.
or
Describe your problem
Currently, the radix tree will insert a root node as the first "subtree". The node value is INT32_MAX. So when query a token list, it need to insert INT32_MAX to the begin of the token list. We need to refactor radix tree to avoid it. e.g.: