show the normalized ipv4 region
This commit is contained in:
parent
538ea4194c
commit
a8a17b0f98
|
|
@ -128,7 +128,7 @@ ip2region xdb searcher test program
|
||||||
source xdb: ../../data/ip2region_v4.xdb (IPv4, vectorIndex)
|
source xdb: ../../data/ip2region_v4.xdb (IPv4, vectorIndex)
|
||||||
type 'quit' to exit
|
type 'quit' to exit
|
||||||
ip2region>> 219.133.111.87
|
ip2region>> 219.133.111.87
|
||||||
{region: 中国|0|广东省|深圳市|电信, ioCount: 2, took: 19.005µs}
|
{region: 中国|广东省|深圳市|电信, ioCount: 2, took: 19.005µs}
|
||||||
ip2region>>
|
ip2region>>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ commands:
|
||||||
clearIndex: clear the vector index.
|
clearIndex: clear the vector index.
|
||||||
quit : exit the test program
|
quit : exit the test program
|
||||||
ip2region>> 58.251.30.115
|
ip2region>> 58.251.30.115
|
||||||
{region:中国|0|广东省|深圳市|联通, iocount:3, took:37.043µs}
|
{region:中国|广东省|深圳市|联通, iocount:3, took:37.043µs}
|
||||||
ip2region>>
|
ip2region>>
|
||||||
|
|
||||||
# ipv6
|
# ipv6
|
||||||
|
|
@ -99,8 +99,8 @@ editor>>
|
||||||
|
|
||||||
通过 `put` 命令修改指定 IP 段的定位信息,例如:
|
通过 `put` 命令修改指定 IP 段的定位信息,例如:
|
||||||
```bash
|
```bash
|
||||||
editor>> put 36.132.128.0|36.132.147.255|中国|0|黑龙江省|哈尔滨市|移动
|
editor>> put 36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动
|
||||||
Put(36.132.128.0|36.132.147.255|中国|0|黑龙江省|哈尔滨市|移动): Ok, with 1 deletes and 2 additions
|
Put(36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动): Ok, with 1 deletes and 2 additions
|
||||||
*editor>>
|
*editor>>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue