ip_trie dictionary is designed for IP address lookups by network prefix.
It stores IP ranges in CIDR notation and allows fast determination of which prefix (e.g. subnet or ASN range) a given IP falls into, making it ideal for IP-based searches like geolocation or network classification.
ip_trie dictionary for this table. The ip_trie layout requires a composite key:
- DDL
- Configuration file
The key must have only one
String type attribute that contains an allowed IP prefix. Other types are not supported yet.
The syntax is:
UInt32 for IPv4, or FixedString(16) for IPv6. For example: