Commit Graph

334 Commits

Author SHA1 Message Date
Wu Jian Ping 12aee0894d 集成单元测试&覆盖率报告 2022-07-21 17:33:47 +08:00
Wu Jian Ping 7f6cac9e09 nodejs实现 2022-07-21 16:27:04 +08:00
Lion fd0a6e09f4 auto close the handle after buffer loaded 2022-07-20 16:38:43 +08:00
Lion c5fad74d95 auto close the handle after buffer loaded 2022-07-20 16:24:21 +08:00
Lion 680624db65 auto close the handle after buffer loaded 2022-07-20 16:15:42 +08:00
Lion c15be8c7b5 auto close the handle after loaded the buffer 2022-07-20 16:06:37 +08:00
Lion 69a085f8cf auto close the handle for all buffer load functions 2022-07-20 16:04:00 +08:00
Lion 91d0c39f11 add another php composer addr 2022-07-20 14:18:29 +08:00
狮子的魂 4c464fac2e add c# xdb searcher
Merge pull request !12 from Soar360/master
2022-07-19 07:28:40 +00:00
Soar360 a5b759c756 完善文档 2022-07-18 10:24:10 +08:00
Soar360 a66ed6aa1f IP2Region.sln 2022-07-18 10:02:45 +08:00
Soar360 7a6a6fc515 BenchTest 2022-07-18 10:01:17 +08:00
Soar360 b44a71592d SearchTest 2022-07-18 09:47:22 +08:00
lion 811ffa1dce add global copyright and governed agreement 2022-07-14 10:37:55 +08:00
Lion 88462e9983 stdlize the result print 2022-07-12 10:40:17 +08:00
厉害的花花 b8b3cde805 1.增加bench_test
2.增加search_test
3.修改ip2Region.py及类名,改为xdbSearcher

Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-07-12 09:46:44 +08:00
厉害的花花 938b0e063f Merge branch 'lionsoul2014:master' into python_dev 2022-07-08 16:10:57 +08:00
Lion 78f4794926 add third composer repo for php 2022-07-08 11:15:40 +08:00
Lion 7d66d96525 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
Soar360 0bd2c15c56 C# 版 2022-07-06 18:00:09 +08:00
Lion 791e81efe4 update the version number to 2.6.4 2022-07-06 16:55:49 +08:00
Lion cbf79d4682 rename searchByStr to search and default the region encode to utf-8 2022-07-06 16:55:35 +08:00
Lion 0b8146fa5f return err for buffer functions 2022-07-06 13:14:39 +08:00
Lion f87bee3f20 Merge branch 'master' of github.com:lionsoul2014/ip2region 2022-07-06 12:08:17 +08:00
Lion 08e11220a5 add lua xdb searcher 2022-07-06 12:01:16 +08:00
Lion e980386c1f util test passed 2022-07-06 11:07:59 +08:00
Lion 1aed3ecc46 Merge branch 'master' into lua_binding 2022-07-06 10:05:40 +08:00
Lion 818777d48a search api is ready 2022-07-05 17:25:23 +08:00
alistar fb29feebe0 fix:垮线程 --> 跨线程 2022-07-05 14:58:03 +08:00
Lion 5b52484cf8 xdb lua searcher framework 2022-07-05 14:06:01 +08:00
Lion e58757ada5 require the local xdb_searcher.so and fix the bug for err check and print 2022-07-05 13:47:47 +08:00
Lion 100493ec11 update the version number to 2.6.3 2022-07-02 18:25:13 +08:00
Lion 14fc2c5de3 keep the original byte for self-define header 2022-07-02 18:15:54 +08:00
Lion e09c9b57b9 update the docs for vectorIndex/content buffer type and resource close 2022-07-02 18:07:17 +08:00
Lion fcc503c8d7 Add docs for compile/install/api and tests 2022-07-02 17:59:10 +08:00
Lion c1616fbca3 err checking the searcher create 2022-07-02 17:58:15 +08:00
Lion 59e5545d70 return the undefined the option 2022-07-02 17:35:01 +08:00
Lion f97e72c23e bench test script ready and bench test passed 2022-07-02 17:10:02 +08:00
Lion 089948ae02 search test is ready 2022-07-02 13:40:16 +08:00
Lion 4fa7aad302 optimize the api error return 2022-07-02 13:39:27 +08:00
Lion 90d80ed622 add type method and make the close duplicate call support 2022-07-02 11:50:44 +08:00
Lion a5eb2faf5b basic tests passed 2022-07-01 15:54:18 +08:00
Lion b949574af5 void * for all the close functions 2022-07-01 15:42:39 +08:00
厉害的花花 d827dbd472 Merge branch 'lionsoul2014:master' into python_dev 2022-07-01 13:36:02 +08:00
Lion 91f9efa107 wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion 8aa2ef71b3 Merge branch 'master' into lua_binding 2022-06-30 22:13:40 +08:00
Lion fa42e387a3 fix the doc errors reported by https://github.com/lionsoul2014/ip2region/pull/232 2022-06-30 22:10:24 +08:00
Lion dbb8e2b407 stdlize the print of Header stringify 2022-06-30 22:08:16 +08:00
Lion d819ff2047 optimize the args checking 2022-06-30 18:35:59 +08:00
Lion b8710c17d8 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion 8ee41f4e1d impl lua c xdb searcher 2022-06-30 18:26:57 +08:00
厉害的花花 894fdc3924 增加 python 查询实现
Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-06-30 14:33:48 +08:00
Lion 7325306a56 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion fea3503f7b update the maven version to 2.6.2 and docs 2022-06-29 18:46:44 +08:00
Lion 905590aff5 optimize the var define 2022-06-29 18:44:50 +08:00
Lion 7942816fad update the docs 2022-06-29 17:52:43 +08:00
Lion fdedfcc0d8 some optimizations 2022-06-29 17:50:25 +08:00
Lion 68486ea679 some optimizations 2022-06-29 17:49:59 +08:00
Lion c5b45e0502 add api usage demo docs 2022-06-29 17:35:19 +08:00
Lion 7f9a9fd3a7 add search/bench test ReadMe docs 2022-06-29 15:28:14 +08:00
Lion 257c391912 add Makefile 2022-06-29 15:16:16 +08:00
Lion bcf12a41db xdb clang binding is ready with search/bench test passed 2022-06-29 15:03:32 +08:00
Lion 015a15f2e0 safe the type convertion 2022-06-29 09:47:09 +08:00
lion 417636d93c newline the error info print 2022-06-28 18:37:16 +08:00
lion cb03009ac4 fix the bug of content based read offset 2022-06-28 18:37:02 +08:00
lion 34c410998f xdb searcher and search test program are ready 2022-06-28 18:30:34 +08:00
lion e17add2d47 xdb search and bench test program 2022-06-28 17:48:19 +08:00
lion f642c54848 c style db path 2022-06-28 17:07:24 +08:00
lion f047a3d360 buffer load functions are ready 2022-06-28 16:28:16 +08:00
lion 2772ccb0ab search logical impl 2022-06-28 12:15:09 +08:00
lion 1810fe74d6 impl the search by string 2022-06-27 18:37:31 +08:00
lion bd065347b3 add the clang xdb searcher binding 2022-06-27 18:32:40 +08:00
Lion 73b8aa3789 bash comments 2022-06-24 15:50:35 +08:00
Lion 2790f818c7 xdb java searcher is ready 2022-06-24 15:28:12 +08:00
Lion 010674506e update the pom for maven release 2022-06-24 15:23:04 +08:00
Lion 3c8569152f optimize the php docs 2022-06-24 12:43:33 +08:00
Lion 3403b74e31 add doc for java binding 2022-06-24 12:41:35 +08:00
Lion 00b3b4c76d update the marks for xdb cached search 2022-06-24 12:24:16 +08:00
Lion deeb947ba1 update the version number to 2.6.0 2022-06-24 11:56:28 +08:00
Lion a0efcf0456 impl the bench test 2022-06-24 11:52:33 +08:00
Lion 5a8a22a01c count maybe 0 2022-06-24 11:52:06 +08:00
lion aca88673d6 store the costs first 2022-06-23 17:59:14 +08:00
lion 3b96003ca1 use the raw []byte as vectorIndex to reduce memory alloc 2022-06-23 17:56:28 +08:00
lion 670cf1dcb3 add java xdb searcher impl 2022-06-23 17:26:17 +08:00
lion 734ac597ea it should be the cols 2022-06-23 17:03:25 +08:00
lion 11df874b5d reduce the data copy for vectorIndex search with content cached 2022-06-23 15:03:18 +08:00
lion 5b058d2a8a optimize the bench average costs stats 2022-06-23 14:57:02 +08:00
lion 9659a920e9 content buffer directly as vectorIndex 2022-06-23 14:52:39 +08:00
lion ca6b26c53a remove the vectorIndex autoload for buffer based searcher to reduce memory usage 2022-06-23 11:42:28 +08:00
Lion a835d15d0a update docs 2022-06-22 19:23:03 +08:00
Lion ee1c22f932 add docs for php binding 2022-06-22 19:21:08 +08:00
Lion 7b7171c233 update the docs for cache-policy 2022-06-22 19:20:59 +08:00
Lion d482335ca2 add bench test script 2022-06-22 18:49:02 +08:00
Lion 431e42209c print the cache policy for bench 2022-06-22 18:48:06 +08:00
Lion fc843205d5 util test script to test all the utils functions 2022-06-22 18:06:50 +08:00
Lion bf0f413a22 xdb searcher util and tests 2022-06-22 17:36:01 +08:00
Lion b08e798e27 print the dataLen and dataPtr for debug 2022-06-22 15:59:29 +08:00
lion 6149b68a84 add php xdb searcher impl 2022-06-21 18:02:54 +08:00
lion 8e88caecab break for the undefine option 2022-06-21 18:02:40 +08:00
lion 59434d03c9 use the Header struct 2022-06-21 11:34:47 +08:00