Commit Graph

342 Commits

Author SHA1 Message Date
Wu Jian Ping 6165c92baa update readme 2022-07-22 13:26:19 +08:00
Wu Jian Ping df951bf319 增加bench测试程序 2022-07-22 13:24:10 +08:00
Wu Jian Ping 58a5898122 增加bench测试程序 2022-07-22 13:22:18 +08:00
Wu Jian Ping 2e9a8279c3 add test app 2022-07-22 11:03:10 +08:00
Wu Jian Ping 092708a0da update readme 2022-07-21 22:35:46 +08:00
Wu Jian Ping 056fac27c1 查询返回对象增加took(us)和ioCount 2022-07-21 22:31:44 +08:00
Wu Jian Ping f890285bb6 . 2022-07-21 18:12:36 +08:00
Wu Jian Ping 00c9d2dbcb . 2022-07-21 18:09:08 +08:00
Wu Jian Ping 90cb936a18 集成单元测试&覆盖率报告 2022-07-21 17:33:47 +08:00
Wu Jian Ping d9980db152 nodejs实现 2022-07-21 16:27:04 +08:00
Lion 0856b034bc auto close the handle after buffer loaded 2022-07-20 16:38:43 +08:00
Lion 8f236b5a8a auto close the handle after buffer loaded 2022-07-20 16:24:21 +08:00
Lion b5ffdc37ba auto close the handle after buffer loaded 2022-07-20 16:15:42 +08:00
Lion 408cb21f3b auto close the handle after loaded the buffer 2022-07-20 16:06:37 +08:00
Lion 4ba77bca34 auto close the handle for all buffer load functions 2022-07-20 16:04:00 +08:00
Lion fee2ad52b8 add another php composer addr 2022-07-20 14:18:29 +08:00
狮子的魂 4077b18bb9
add c# xdb searcher
Merge pull request !12 from Soar360/master
2022-07-19 07:28:40 +00:00
Soar360 6806d4ab3a 完善文档 2022-07-18 10:24:10 +08:00
Soar360 330bbf6ba6 IP2Region.sln 2022-07-18 10:02:45 +08:00
Soar360 e95c611d7e BenchTest 2022-07-18 10:01:17 +08:00
Soar360 2c7febdd86 SearchTest 2022-07-18 09:47:22 +08:00
lion 3b22a015a3 add global copyright and governed agreement 2022-07-14 10:37:55 +08:00
Lion 5e8858deb6 stdlize the result print 2022-07-12 10:40:17 +08:00
厉害的花花 8106a339da 1.增加bench_test
2.增加search_test
3.修改ip2Region.py及类名,改为xdbSearcher

Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-07-12 09:46:44 +08:00
厉害的花花 3eadc47a19
Merge branch 'lionsoul2014:master' into python_dev 2022-07-08 16:10:57 +08:00
Lion c1e98d5336 add third composer repo for php 2022-07-08 11:15:40 +08:00
Lion 420cf756c5 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
Soar360 54399231d6 C# 版 2022-07-06 18:00:09 +08:00
Lion 9e32937ca1 update the version number to 2.6.4 2022-07-06 16:55:49 +08:00
Lion 6e570b9262 rename searchByStr to search and default the region encode to utf-8 2022-07-06 16:55:35 +08:00
Lion 2557271629 return err for buffer functions 2022-07-06 13:14:39 +08:00
Lion 7c588b9ccb Merge branch 'master' of github.com:lionsoul2014/ip2region 2022-07-06 12:08:17 +08:00
Lion 4934080ed0 add lua xdb searcher 2022-07-06 12:01:16 +08:00
Lion f25ef646f5 util test passed 2022-07-06 11:07:59 +08:00
Lion 013021c3b0 Merge branch 'master' into lua_binding 2022-07-06 10:05:40 +08:00
Lion 84ec081182 search api is ready 2022-07-05 17:25:23 +08:00
alistar 34ddd2ea33 fix:垮线程 --> 跨线程 2022-07-05 14:58:03 +08:00
Lion 6dd15fa3b0 xdb lua searcher framework 2022-07-05 14:06:01 +08:00
Lion 785016bc60 require the local xdb_searcher.so and fix the bug for err check and print 2022-07-05 13:47:47 +08:00
Lion 1b3c3de47c update the version number to 2.6.3 2022-07-02 18:25:13 +08:00
Lion 95d01a7b6b keep the original byte for self-define header 2022-07-02 18:15:54 +08:00
Lion c41e7a45ca update the docs for vectorIndex/content buffer type and resource close 2022-07-02 18:07:17 +08:00
Lion f1a097ca47 Add docs for compile/install/api and tests 2022-07-02 17:59:10 +08:00
Lion 9e8f672b9a err checking the searcher create 2022-07-02 17:58:15 +08:00
Lion 83707692e1 return the undefined the option 2022-07-02 17:35:01 +08:00
Lion 85d955b52a bench test script ready and bench test passed 2022-07-02 17:10:02 +08:00
Lion ed955a447f search test is ready 2022-07-02 13:40:16 +08:00
Lion 0b8ba8de79 optimize the api error return 2022-07-02 13:39:27 +08:00
Lion 5a6053591c add type method and make the close duplicate call support 2022-07-02 11:50:44 +08:00
Lion 9c8dd50ff6 basic tests passed 2022-07-01 15:54:18 +08:00
Lion 7af176a564 void * for all the close functions 2022-07-01 15:42:39 +08:00
厉害的花花 d8a960ef83
Merge branch 'lionsoul2014:master' into python_dev 2022-07-01 13:36:02 +08:00
Lion 288859f7ae wrap the header/vector/content buffer 2022-07-01 11:57:45 +08:00
Lion 420bc3fb2d Merge branch 'master' into lua_binding 2022-06-30 22:13:40 +08:00
Lion 4f098d7404 fix the doc errors reported by https://github.com/lionsoul2014/ip2region/pull/232 2022-06-30 22:10:24 +08:00
Lion 9f8f3ac7f6 stdlize the print of Header stringify 2022-06-30 22:08:16 +08:00
Lion 8214fcfb21 optimize the args checking 2022-06-30 18:35:59 +08:00
Lion 19ac923136 safely duplicate close 2022-06-30 18:34:14 +08:00
Lion ca4bffbc84 impl lua c xdb searcher 2022-06-30 18:26:57 +08:00
厉害的花花 78b999b338 增加 python 查询实现
Signed-off-by: 厉害的花花 <117415792@qq.com>
2022-06-30 14:33:48 +08:00
Lion c7d4ad01f6 make all the db_path and vIndex/cBuffer args const 2022-06-30 11:55:41 +08:00
Lion d541719293 update the maven version to 2.6.2 and docs 2022-06-29 18:46:44 +08:00
Lion e7ed1d4935 optimize the var define 2022-06-29 18:44:50 +08:00
Lion 816a99104c update the docs 2022-06-29 17:52:43 +08:00
Lion 0e95ceb25f some optimizations 2022-06-29 17:50:25 +08:00
Lion f95d59c47b some optimizations 2022-06-29 17:49:59 +08:00
Lion 1ed8e89d32 add api usage demo docs 2022-06-29 17:35:19 +08:00
Lion 05a9bdb332 add search/bench test ReadMe docs 2022-06-29 15:28:14 +08:00
Lion df9fd81bee add Makefile 2022-06-29 15:16:16 +08:00
Lion e7b29384f7 xdb clang binding is ready with search/bench test passed 2022-06-29 15:03:32 +08:00
Lion 16aba8c9cb safe the type convertion 2022-06-29 09:47:09 +08:00
lion 246165b39e newline the error info print 2022-06-28 18:37:16 +08:00
lion be811e787e fix the bug of content based read offset 2022-06-28 18:37:02 +08:00
lion fd00e567af xdb searcher and search test program are ready 2022-06-28 18:30:34 +08:00
lion ac102ca6eb xdb search and bench test program 2022-06-28 17:48:19 +08:00
lion 74a82e9b53 c style db path 2022-06-28 17:07:24 +08:00
lion 654959686f buffer load functions are ready 2022-06-28 16:28:16 +08:00
lion 4b27b03cfa search logical impl 2022-06-28 12:15:09 +08:00
lion 080942fc68 impl the search by string 2022-06-27 18:37:31 +08:00
lion f5d0c216c2 add the clang xdb searcher binding 2022-06-27 18:32:40 +08:00
Lion 53e6777abd bash comments 2022-06-24 15:50:35 +08:00
Lion 7e41c0c00f xdb java searcher is ready 2022-06-24 15:28:12 +08:00
Lion 9c270d0c39 update the pom for maven release 2022-06-24 15:23:04 +08:00
Lion 0b137336ef optimize the php docs 2022-06-24 12:43:33 +08:00
Lion 9361d9179c add doc for java binding 2022-06-24 12:41:35 +08:00
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