CPC G06F 16/2246 (2019.01) [G06F 16/2264 (2019.01); G06F 16/245 (2019.01)] | 20 Claims |
15. A method, comprising:
performing a string query in a ternary tree, the ternary tree having a plurality of nodes that represent at least a first terminology and a second terminology;
determining that the string query is designated for the first terminology;
in response to the determining, traversing the plurality of nodes in the ternary tree;
locating a first search result corresponding to the string query, the first search result corresponding to a node of the plurality of nodes, the node having a corresponding array, the corresponding array storing a first term match number for the first terminology in a first nested array and storing a second term match number for the second terminology in a second nested array; and
returning the first term match number for the first terminology.
|