99 Commits
Author SHA1 Message Date
Kevin Lynx 45ee021ebb optimize highlight for http 2013-08-24 17:39:44 +08:00
Kevin Lynx b1869dd122 add http search result highlight 2013-08-24 16:42:04 +08:00
Kevin Lynx 7f7045883e fix stats 1970 bug 2013-08-22 21:05:25 +08:00
Kevin Lynx b0428a1e5e fix sphinx builder query range bug; improve sphinx builder db query performance, to avoid `getmore' command and the 4M useless response 2013-08-07 21:48:11 +08:00
Kevin Lynx 4b48c8aed2 log bug 2013-08-06 20:57:00 +08:00
Kevin Lynx 395d73b000 build date index at startup 2013-08-06 20:50:08 +08:00
Kevin Lynx ac0116a5b3 daman! fix crawler initiali id generation bug (not set random seed) 2013-08-05 22:04:37 +08:00
Kevin Lynx 04a20c177d add some debug log to sphinx_builder, test sphinx_builder when there's no hashes there and got new hashes 2013-08-05 21:30:29 +08:00
Kevin Lynx 5fa961bc9a add log level config for sphinx_builder 2013-08-04 21:42:26 +08:00
Kevin Lynx cd1fab1ecb change sphinx_builder, query from mongodb by `skip' really don't work well, build a date index to query by date range 2013-08-04 21:34:13 +08:00
Kevin Lynx 55ac362bf1 update to the newest kdht, to fix some invalid message error bug 2013-08-03 21:39:58 +08:00
Kevin Lynx 917c222b16 http ui stuff 2013-08-03 17:21:16 +08:00
Kevin Lynx a76f6e5d46 http ui adjust 2013-08-03 17:10:15 +08:00
Kevin Lynx e8e3142235 modify `giza' library so that i can get sphinx search stats, and because of this, i can add a more detailed page navigation 2013-08-03 17:00:26 +08:00
Kevin Lynx 44464b40b3 add a new config search_method', if set to sphinx', hash reader will not create name_array, also add config for httpd, to config the search method 2013-08-03 15:48:03 +08:00
Kevin Lynx e816757fef add a new config to head_reader use_sphinx', when this flag is true, the reader will not create name_array' for torrent document; now http use sphinx search 2013-08-03 14:57:46 +08:00
Kevin Lynx 15f398023c log disable 2013-08-02 22:20:29 +08:00
Kevin Lynx 6b1c0a0a26 change sphinx torrent loading using an existing cursor 2013-08-02 22:18:07 +08:00
Kevin Lynx bc00e03b33 fix sphinx xml utf8 related issure, filter these unicode control characters, only backup delta file if the operation failed 2013-08-01 23:20:28 +08:00
Kevin Lynx 5e9c36f787 add sphinx search stats 2013-07-31 22:05:53 +08:00
Kevin Lynx 0bdac737ad add a simple page navigation for sphinx_search 2013-07-31 20:57:35 +08:00
Kevin Lynx 40f2bae9b8 fix sphinx_build memory leak bug, caused by mongo_cursor 2013-07-31 12:17:21 +08:00
Kevin Lynx 149f10724e sphinx worker call infinity 2013-07-30 22:43:02 +08:00
Kevin Lynx 18edffc2a1 fix some sphinx related bugs, now it can be used to build sphinx index, still in experiment stage, add `giza' library to query sphinx in http_fontend 2013-07-30 22:17:31 +08:00
Kevin Lynx 0c67e46e5c fix daterange issure which not only record today torrents, not it only show the today inserted torrents 2013-07-23 22:16:40 +08:00
Kevin Lynx 28acbdaa45 adjust http stats display 2013-07-23 21:45:06 +08:00
Kevin Lynx 94a2ac34bc system stats adjust, add more stats to http front-end 2013-07-23 21:41:08 +08:00
Kevin Lynx 6fbd0cb218 add a new force to string log func, add log to httpd, it can log unicode characters to logfiles 2013-07-22 22:58:07 +08:00
Kevin Lynx 928798ed28 complete all http uri to json api 2013-07-22 21:23:44 +08:00
Kevin Lynx 13d35a44c1 add query stats for new hash_writer 2013-07-21 22:20:16 +08:00
Kevin Lynx 070e97e826 add hash filter stats to the new hash_reader 2013-07-21 22:10:05 +08:00
Kevin Lynx 5d211c3f14 add `size' function to hash_download_cache, to debug 2013-07-21 21:52:44 +08:00
Kevin Lynx 3864940905 fix hash_download startup bug 2013-07-21 21:32:19 +08:00
Kevin Lynx 67ff84adaa fix hash_download_cache startup bug 2013-07-21 21:30:28 +08:00
Kevin Lynx e5b35e58ed NOTE: rewrite hash_reader, config changed, dht_hash database changed, require to remove existed dht_hash database 2013-07-21 21:13:05 +08:00
Kevin Lynx 72c35be437 change default config 2013-07-21 09:24:33 +08:00
Kevin Lynx d00c84135b fix cache_indexer message leak bug 2013-07-20 19:37:41 +08:00
Kevin Lynx d9deb8dfc9 add simple `get' json api, fix http search space decode 2013-07-20 10:57:27 +08:00
Kevin Lynx ba92e9cd77 fix hash_date 2013-07-19 21:31:36 +08:00
Kevin Lynx 28fe69d141 hash_date only record today new inserted torrents 2013-07-19 21:00:37 +08:00
Kevin Lynx 45ca7d584e config max download task per hash-reader, 2013-07-18 22:03:47 +08:00
Kevin Lynx 35a131fa8f nothing 2013-07-18 14:03:34 +08:00
Kevin Lynx 976740ea57 hash_writer write cache hashes 100 by 100, not all caches 2013-07-18 13:56:51 +08:00
Kevin Lynx 928fc86934 recompile 2013-07-18 13:17:06 +08:00
Kevin Lynx f5655ba0f3 fix hash_reader stop working bug 2013-07-18 12:38:31 +08:00
Kevin Lynx 810464330d NOTE: big change! Need to delete config files. The crawler will cache hashes and merge duplicated queries. 2013-07-17 22:55:35 +08:00
Kevin Lynx 629e92115d fix cache_indexer download bug 2013-07-17 19:11:01 +08:00
Kevin Lynx ff338f2c9b fix cache_indexer state not saved correctly 2013-07-16 22:49:08 +08:00
Kevin Lynx c85e216951 fix cache_indexer 2013-07-16 22:24:55 +08:00
Kevin Lynx 1ed66b3863 fix memory leak for hash_reader (message queue keep increasing), set http search result to 50 2013-07-16 21:44:16 +08:00