IPv4 can be encoded to unsigned long (32bit), where range search is available.
IPv6 is harder as it is 128bit, where no Java type is available except something like BigDecimal, and no range search. Do not use base64, it is impossible for executing range queries on it. Jörg -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHfTMUiXFhmup_FfBZFYvTRZRUqop51gAy_ZxkghKnF1Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.