Discussion:
Hex support in Lucene
Rajnish kamboj
2018-09-27 10:08:21 UTC
Permalink
Hi

We want to index and search hex numbers (including hex ranges) in Lucene.

We are using Lucene 5.3.1
I could find only Int and long but not hex.

My hex numbers are IPV6 excluding colon. Long can not hold such big hex
numbers.

What could be the possible solution to this.

Regards
Rajnish
Adrien Grand
2018-09-27 14:09:10 UTC
Permalink
Hello Rajnish,

Have you seen InetAddressPoint?
https://lucene.apache.org/core/7_5_0/misc/org/apache/lucene/document/InetAddressPoint.html
Post by Rajnish kamboj
Hi
We want to index and search hex numbers (including hex ranges) in Lucene.
We are using Lucene 5.3.1
I could find only Int and long but not hex.
My hex numbers are IPV6 excluding colon. Long can not hold such big hex
numbers.
What could be the possible solution to this.
Regards
Rajnish
Loading...