[ 
https://issues.apache.org/jira/browse/SOLR-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230695#comment-14230695
 ] 

Hoss Man commented on SOLR-6741:
--------------------------------

bq. It would be nice if Solr had a field type which could be used to index IPv6 
data and supported efficient range queries. 

better still would be a field type that understood how to parse & index both 
IPv4 and IPv6 and could likewise handle range & "prefix" (ie: 
{{ip:169.229.136.*}}) queries of both.

but i think doing the IPv6 part (correctly) is kind of blocked by LUCENE-5596 
and/or LUCENE-5879.

We could do something IPv4 specific in the meantime by wrapping TrieLongField 
-- but personally i'd rather have one single well done "IPField" class that 
deals with bytes under the hood and handles IPv4 string parsing as a slightly 
special case - storing them internally as IPv6 mapped addrs...
https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses


> IPv6 Field Type
> ---------------
>
>                 Key: SOLR-6741
>                 URL: https://issues.apache.org/jira/browse/SOLR-6741
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Lloyd Ramey
>
> It would be nice if Solr had a field type which could be used to index IPv6 
> data and supported efficient range queries. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to