Commit Graph

257 Commits

Author SHA1 Message Date
Lion 20ad3cc722 update the marks for xdb cached search 2022-06-24 12:24:16 +08:00
Lion 05826d8b4a update the version number to 2.6.0 2022-06-24 11:56:28 +08:00
Lion 5d47a27730 impl the bench test 2022-06-24 11:52:33 +08:00
Lion 3e8d616a2a count maybe 0 2022-06-24 11:52:06 +08:00
lion fa4c983710 store the costs first 2022-06-23 17:59:14 +08:00
lion f5d6b490f3 use the raw []byte as vectorIndex to reduce memory alloc 2022-06-23 17:56:28 +08:00
lion 8d03749a37 add java xdb searcher impl 2022-06-23 17:26:17 +08:00
lion 1b6842a2f1 it should be the cols 2022-06-23 17:03:25 +08:00
lion a2b6eb6b8c reduce the data copy for vectorIndex search with content cached 2022-06-23 15:03:18 +08:00
lion 1f0d242582 optimize the bench average costs stats 2022-06-23 14:57:02 +08:00
lion 4f7813a482 content buffer directly as vectorIndex 2022-06-23 14:52:39 +08:00
lion 8ed03b40e6 remove the vectorIndex autoload for buffer based searcher to reduce memory usage 2022-06-23 11:42:28 +08:00
Lion 05e9a55e02 update docs 2022-06-22 19:23:03 +08:00
Lion b97306af03 add docs for php binding 2022-06-22 19:21:08 +08:00
Lion b1dd15849c update the docs for cache-policy 2022-06-22 19:20:59 +08:00
Lion ba1321fa6b add bench test script 2022-06-22 18:49:02 +08:00
Lion 8797368cda print the cache policy for bench 2022-06-22 18:48:06 +08:00
Lion f5051e3ebc util test script to test all the utils functions 2022-06-22 18:06:50 +08:00
Lion c28d01897f xdb searcher util and tests 2022-06-22 17:36:01 +08:00
Lion 99802f2d28 print the dataLen and dataPtr for debug 2022-06-22 15:59:29 +08:00
lion e2e530bdf4 add php xdb searcher impl 2022-06-21 18:02:54 +08:00
lion 82ed1e831e break for the undefine option 2022-06-21 18:02:40 +08:00
lion 231f56b291 use the Header struct 2022-06-21 11:34:47 +08:00
lion a3d33152ba add header mgr struct 2022-06-21 10:57:47 +08:00
lion e3cda45591 add copy right statement and author contact info 2022-06-21 10:21:37 +08:00
lion c3319ff11f add cache-policy option desc 2022-06-20 22:12:21 +08:00
lion 244472d935 add docs for cache searcher create 2022-06-20 21:45:59 +08:00
Lion e9a033b9f5 add vectorIndex/Content cache policy impl 2022-06-20 15:14:33 +08:00
Lion 542753f666 add Makefile and docs for golang xdb maker and binding 2022-06-19 19:07:03 +08:00
Lion fc8dcdd443 add load header func 2022-06-18 19:36:45 +08:00
Lion 1d4d3f9299 add vector index and xdb content load util func 2022-06-18 19:29:24 +08:00
lion 79b3dd2aec update the command docs 2022-06-17 15:48:48 +08:00
lion 98e10b9891 Update the docs 2022-06-17 15:06:34 +08:00
lion 4cf2c28d49 rename pacakge to xdb and add SearchByStr impl 2022-06-17 14:45:16 +08:00
lion cb6b06d64a add golang searcher binding 2022-06-17 14:18:44 +08:00
lion 46b25653d7 init the v2.0 framework with v1.0 source kept 2022-06-16 16:27:56 +08:00
lion a8448dd2b3 archive the v1.0 - old db structure 2022-06-16 16:25:31 +08:00
dependabot[bot] ee5519b7bf
Bump async from 2.3.0 to 2.6.4 in /binding/nodejs
Bumps [async](https://github.com/caolan/async) from 2.3.0 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.3.0...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 15:55:54 +00:00
Lion 4e106af3df
Merge pull request #203 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/path-parse-1.0.7
Bump path-parse from 1.0.5 to 1.0.7 in /binding/nodejs
2021-10-24 09:48:41 +08:00
dependabot[bot] 4de96c8dbe
Bump tmpl from 1.0.4 to 1.0.5 in /binding/nodejs
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 23:38:34 +00:00
dependabot[bot] e0fed1b805
Bump path-parse from 1.0.5 to 1.0.7 in /binding/nodejs
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 19:27:14 +00:00
Lion f92bcf3170
Merge pull request #193 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/handlebars-4.7.7
Bump handlebars from 4.5.3 to 4.7.7 in /binding/nodejs
2021-05-08 09:40:43 +08:00
Lion 5e6335d954
Merge pull request #187 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/y18n-3.2.2
Bump y18n from 3.2.1 to 3.2.2 in /binding/nodejs
2021-05-08 09:40:30 +08:00
dependabot[bot] dc94fe9320
Bump hosted-git-info from 2.4.2 to 2.8.9 in /binding/nodejs
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.4.2 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.4.2...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 01:38:48 +00:00
dependabot[bot] 64e28305d9
Bump lodash from 4.17.19 to 4.17.21 in /binding/nodejs
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 16:28:27 +00:00
dependabot[bot] 57da31c171
Bump handlebars from 4.5.3 to 4.7.7 in /binding/nodejs
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 21:46:24 +00:00
dependabot[bot] b7a788791a
Bump y18n from 3.2.1 to 3.2.2 in /binding/nodejs
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 14:25:51 +00:00
dependabot[bot] 646873bb17
Bump junit from 3.8.1 to 4.13.1 in /binding/java
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/commits/r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:44 +00:00
liyang f0be894109 fix bug about stack corrupt for example ip address is spceial "172.16.107.7, Proxy:False, 210.3.213.69" 2020-10-06 21:55:21 +08:00
Zhao Zilong db3f5f38b1
Add files via upload 2020-09-18 18:03:30 +08:00
Zhao Zilong 50e931c8be
Update readme.md 2020-09-18 17:59:13 +08:00
Zhao Zilong 7b30c3070a
Update readme.md 2020-09-18 17:58:31 +08:00
Zhao Zilong 9f01d66886
Add files via upload 2020-09-18 17:55:35 +08:00
Zhao Zilong 11da0e97db
Create readme.md 2020-09-18 17:54:17 +08:00
wuxiaodong 40bd5a7a2f Fix multi instance bugs, use instance variable instead of class variable. 2020-09-02 17:26:01 +08:00
dependabot[bot] 667cdc8cf6
Bump lodash from 4.17.13 to 4.17.19 in /binding/nodejs
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 08:58:29 +00:00
lionsoul d62ede3131 Upgrade the minimist version inspired by the github alerts 2020-06-18 08:53:20 +08:00
lionsoul c6b3e79df6 upgrade the acorn to version 5.7.4 2020-04-02 09:42:44 +08:00
lionsoul 07287ea6ec Upgrade the minimist to 1.2.2 2020-04-02 09:41:14 +08:00
lionsoul d077ab1d3c Merge branch 'master' of https://gitee.com/lionsoul/ip2region 2020-04-02 09:38:27 +08:00
lionsoul e7a666bdf2 Upgrade the kind-of to version 6.0.3 2020-04-02 09:38:10 +08:00
PHP Static 44059a4d0e fix php5 symbol duplicate 2020-03-22 11:43:46 +08:00
PHP Static 28f818e91a fix memory leak and symbol duplicate 2020-03-22 11:38:21 +08:00
lionsoul 6f3d0d5ece Optimize the installation DOC and rename the php ext binding name 2020-02-21 13:56:26 +08:00
lionsoul 6c31b18cf9 Merge branch 'master' of https://gitee.com/lionsoul/ip2region 2020-02-21 13:36:35 +08:00
lionsoul b75d215318 Optimize the README DOC 2020-02-21 13:36:21 +08:00
dongyado 25f82ba132 update readme add tested node version 2020-02-20 16:57:50 +08:00
dongyado 2e4d5d583e update nodejs client and use node-ip2region for npm package name 2020-02-20 12:58:56 +08:00
dependabot[bot] 238f11963e
Bump handlebars from 4.1.2 to 4.5.3 in /binding/nodejs
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 11:39:13 +00:00
lionsoul 79a1956245
Merge pull request #138 from RocherKong/master
add data result availability checking
2019-12-11 17:20:05 +08:00
rocher 4013387c43 test result data right 2019-12-11 16:59:44 +08:00
lionsoul 41ea94f036 Upgrade mixin-deep for version 1.3.2 and set-value to version 2.0.1 2019-09-07 10:36:36 +08:00
lionsoul 5c1394a4f5 add nginx module support 2019-08-22 10:35:26 +08:00
Cherisher d071daf34e add support for nginx 2019-08-22 09:02:09 +08:00
lionsoul f483af329e Security Alerts fixing 2019-07-21 17:51:07 +08:00
lionsoul a49b7deaf4 Upgrade some the dependencies version to the one followed by the github alerts 2019-07-07 11:33:31 +08:00
lionsoul bb3740fba1 Upgrade some the dependencies version to the one followed by the github alerts 2019-07-07 11:18:21 +08:00
lionsoul a8f77a9638 fix the bug of raf=null in the close interface of DbSearcher 2019-07-07 11:09:48 +08:00
lionsoul 4dabf635a8 Upgrade the lodash base version to 4.17.11 2019-02-12 17:39:11 +08:00
lionsoul ab1c331fbd Update the merge to version 1.2.1 2018-11-03 11:05:48 +08:00
lionsoul a6968d9767
Merge pull request #86 from heweizhen0822/patch-1
Update README.md
2018-10-18 20:59:29 +08:00
heweizhen0822 06e8aa2528
Update main.go
github.com/mohong122/ip2region/binding/golang/ip2region 并没有子包ip2region 需要改成 github.com/lionsoul2014/ip2region/binding/golang/ip2region
2018-10-18 10:34:33 +08:00
heweizhen0822 281237c5c3
Update README.md
github.com/mohong122/ip2region/binding/golang/ip2region  需要改成 github.com/lionsoul2014/ip2region/binding/golang/ip2region
2018-10-18 10:32:32 +08:00
lionsoul 9c37b5be7f Optimize the lua_c module 2018-10-10 11:54:26 +08:00
lionsoul 253dc12917 Add automatically lib dir make 2018-10-07 20:58:54 +08:00
lionsoul 86104eb31f Optimize the ip2long function with trim logic applied 2018-10-07 10:23:17 +08:00
lionsoul bd6dc7be90 Update the README doc for lua_c module 2018-10-06 15:12:24 +08:00
lionsoul 03fd40bb09 Add README doc for lua_c module 2018-10-06 11:18:01 +08:00
lionsoul f9e9dd59a3 lua ip2region c module forward with release version published 2018-10-06 11:05:01 +08:00
lionsoul 93689e09e8 lua binding module interface stdlize with new and ip2long method access by . support 2018-10-05 21:46:21 +08:00
lionsoul e26ed44861 lua_c module forward with basic framework finished(tested) 2018-10-05 21:39:35 +08:00
lionsoul 7bd81290f1 lua_c binding basic framework(Not tested yet...) 2018-10-05 14:03:16 +08:00
lionsoul 7032830d23 Optimize the lua module by add the __index and the __tostring meta-method 2018-10-05 10:55:24 +08:00
lionsoul e9a08e27a3 Optimize the benchmark script 2018-10-05 09:49:32 +08:00
Koma 593aba66d8 重构python客户端,提升查询性能,兼容python2.x,3.x 2018-10-04 11:39:49 +08:00
lionsoul a2d250919d Update the lua interface and add setDbFile interface 2018-10-04 10:22:01 +08:00
lionsoul 5f871ba257 Update the Lua binding 2018-10-03 20:12:30 +08:00
lionsoul e6104dcd1f Update README for lua binding 2018-10-03 20:10:02 +08:00
lionsoul 86ad8057aa Lua binding completed(tested) 2018-10-03 20:05:14 +08:00
lionsoul 5f073d814e lua binding forward with binarySearch and btreeSearch interface implemented 2018-10-03 13:12:05 +08:00