Commit Graph

  • 178411b7b3 Remove niceness from linkspam Ai Lin Chia 2016-09-23 02:10:36 +02:00
  • 6e208f1117 Remove niceness from getMatches2 Ai Lin Chia 2016-09-23 02:03:14 +02:00
  • 6bf1b5300d Remove now unused method s_findMaxIndex Ai Lin Chia 2016-09-23 01:40:41 +02:00
  • 39ada9b034 Remove unused Words::getLanguage function Ai Lin Chia 2016-09-23 01:39:41 +02:00
  • 9078df3d18 Remove niceness from Words Ai Lin Chia 2016-09-23 01:38:58 +02:00
  • 072226f79a Remove quickpoll from Words Ai Lin Chia 2016-09-23 01:18:52 +02:00
  • 8c599dfdf2 Remove quickpoll from linkspam Ai Lin Chia 2016-09-23 01:18:25 +02:00
  • b5f0a81bd1 Remove niceness from Bits Ai Lin Chia 2016-09-23 01:15:54 +02:00
  • abaf5e9a08 Remove quickpoll from Bits Ai Lin Chia 2016-09-23 01:10:38 +02:00
  • 85beac31bc Remove quickpoll from Sections Ai Lin Chia 2016-09-23 01:09:57 +02:00
  • 516a9b9d73 Remove quickpoll calls from SpiderProxy Ai Lin Chia 2016-09-23 01:04:38 +02:00
  • d0b5ffb8e7 Remove quickpoll calls from SpiderColl Ai Lin Chia 2016-09-23 01:03:04 +02:00
  • 98453406db Remove quickpoll calls from SpiderLoop Ai Lin Chia 2016-09-23 01:02:09 +02:00
  • 666f781486 Remove commented out code Ai Lin Chia 2016-09-23 01:00:19 +02:00
  • 45fc734842 Fix coverity warning wrong sizeof argument Ai Lin Chia 2016-09-23 00:55:17 +02:00
  • d6c0ee0ace Remove niceness and quickpoll from Xml Ai Lin Chia 2016-09-23 00:54:04 +02:00
  • 8b34ed3ecd Fix coverity warning unused value Ai Lin Chia 2016-09-23 00:15:29 +02:00
  • 5291296ce8 Fix coverity warning array compared against 0 Ai Lin Chia 2016-09-23 00:02:43 +02:00
  • 9fd8cc6836 Removed unused Sections ptr from addMatches Brian Rasmusson 2016-09-22 22:37:28 +02:00
  • f0e3b14873 fix for out-of-bounds read warning in getLangIdFromAbbr Brian Rasmusson 2016-09-22 22:20:38 +02:00
  • 48dfee6420 corrected previous fix. Init ptr in constructor to make coverity happy Brian Rasmusson 2016-09-22 22:01:39 +02:00
  • 4bf7d11d22 fixed mem leak in HighFrequencyTermShortcuts::load Brian Rasmusson 2016-09-22 21:51:37 +02:00
  • be65df060c Fix coverity warning uninitialized scalar field Ai Lin Chia 2016-09-22 17:10:48 +02:00
  • 5735f22d3d Fix coverity warning logically dead code Ai Lin Chia 2016-09-22 17:00:51 +02:00
  • 54554a48b0 Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-22 16:56:49 +02:00
  • 752006b488 Fix coverity warning identical code for different branches Ai Lin Chia 2016-09-22 16:56:00 +02:00
  • 710eec406f Code style changes. Use logDebug Ai Lin Chia 2016-09-22 16:24:07 +02:00
  • 4e0a489629 Don't call g_jobScheduler.disallow_new_jobs() anymore in *db::verify() when just using null callbacks to msg5::getlist() Ivan Skytte Jørgensen 2016-09-22 16:44:38 +02:00
  • 64c28f9be0 Don't clal g_jobScheduler.disallow_new_jobs() anymore when just using null callbacks to msg5::getlist() Ivan Skytte Jørgensen 2016-09-22 16:42:11 +02:00
  • ef6befb3f1 Make Msg5 interpret null callback as "don't create jobs or other asynchronous work" Ivan Skytte Jørgensen 2016-09-22 16:21:16 +02:00
  • c57ab1a421 Move code around to hopefully make codes easier to read Ai Lin Chia 2016-09-22 16:17:54 +02:00
  • 9479ad0e42 removed unused pointer arrays from Matches Brian Rasmusson 2016-09-22 16:19:13 +02:00
  • 75a8ac5c85 Fix clang warning 'x' was marked unused but was used Ai Lin Chia 2016-09-22 16:00:32 +02:00
  • e2d3567836 Remove unused Msg1 variable from Statsdb Ai Lin Chia 2016-09-22 14:44:18 +02:00
  • 4e3c66c9f5 Remove unused prototype of Rdb::addList Ai Lin Chia 2016-09-22 14:41:43 +02:00
  • dd63cfb247 Use m_tree.deleteNode directly instead of doing m_tree.getNode then m_tree.deleteNode Ai Lin Chia 2016-09-22 14:32:25 +02:00
  • b5a91591f4 Removed obsolete and misleading comments from RdbScan.cpp Ivan Skytte Jørgensen 2016-09-22 15:38:44 +02:00
  • 4bfe37920c Include file fixes for DailyMerge Ai Lin Chia 2016-09-22 14:16:26 +02:00
  • 2fe1fe6243 Remove cygwin specific code Ai Lin Chia 2016-09-22 14:13:52 +02:00
  • 80277cb3c6 Remove memcpy_ass and replace with gbmemcpy (it's the same anyway) Ai Lin Chia 2016-09-22 14:12:15 +02:00
  • e0eb8bb480 Add constness to RdbBuckets Ai Lin Chia 2016-09-22 11:29:00 +02:00
  • b74bec230d Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-22 14:25:57 +02:00
  • b796f90852 Encapsulate Matches better Ivan Skytte Jørgensen 2016-09-22 14:25:29 +02:00
  • f220f9ad4f Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-22 13:02:23 +02:00
  • 839c3edd78 skip empty lists in evalSlidingWindow Brian Rasmusson 2016-09-22 12:55:54 +02:00
  • 8e0b40349e Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-22 11:27:18 +02:00
  • 441c59c69f Merge branch 'master' of github.com:privacore/open-source-search-engine Ivan Skytte Jørgensen 2016-09-22 11:25:38 +02:00
  • 416f09ae0e Fix coverity warning 'Pointer to local outside scope' Ai Lin Chia 2016-09-22 11:14:38 +02:00
  • 6072d55770 Fix coverity warning on missing comma in a string array initialization Ai Lin Chia 2016-09-22 11:06:59 +02:00
  • ab740db30a Remove doBalancing from RdbTree::deleteOrderedList Ai Lin Chia 2016-09-21 16:17:50 +02:00
  • e12402ce80 Remove always true doBalancing parameter Ai Lin Chia 2016-09-21 16:14:01 +02:00
  • 1de5d2cb4d Change goto to normal for loop. Code style changes Ai Lin Chia 2016-09-21 16:05:37 +02:00
  • 2a20527da1 Remove unused RdbTree::deleteKeys method Ai Lin Chia 2016-09-21 15:53:04 +02:00
  • 1281eefaf2 Simplify code Ai Lin Chia 2016-09-21 15:51:33 +02:00
  • 0cde013e29 Code style changes Ai Lin Chia 2016-09-21 15:51:10 +02:00
  • 5768b51b32 Remove key96_t version of RdbTree::addNode Ai Lin Chia 2016-09-21 15:42:51 +02:00
  • 41912175b4 fix a few 'Uninitialized scalar variable' potential bugs Brian Rasmusson 2016-09-21 22:26:13 +02:00
  • bce2da5e08 Avoid potential negative array index in getTermPairScoreForAny Brian Rasmusson 2016-09-21 21:27:44 +02:00
  • 9c4c84d12f potential use of uninitialized docLang in getMaxPossibleScore Brian Rasmusson 2016-09-21 21:20:16 +02:00
  • b6f00a3be5 Swap collnum to be the first args to make it consistent Ai Lin Chia 2016-09-21 15:14:28 +02:00
  • 37c95a568c Rename RdbBucket::getKeyNumExact to RdbBucket::getNode Ai Lin Chia 2016-09-21 14:54:15 +02:00
  • 613b0255b8 Simplify code Ai Lin Chia 2016-09-21 14:53:52 +02:00
  • 887f48f2c2 Make RdbBuckets::addNode behaviour similar to RdbTree::addNode when it's not writable/is saving Ai Lin Chia 2016-09-21 14:30:08 +02:00
  • 6fa7affb43 Rename RdbTree::deleteNode3 to RdbTree::deleteNode Ai Lin Chia 2016-09-21 14:02:56 +02:00
  • 5484d014b5 Move initialization of variable closer to first use Ai Lin Chia 2016-09-21 13:50:03 +02:00
  • 88db285521 Code style changes & remove unused methods Ai Lin Chia 2016-09-21 13:49:42 +02:00
  • d3434b86e7 Remove unused variable Ai Lin Chia 2016-09-21 13:49:23 +02:00
  • 9d567ce201 rearrange function parms a bit Brian Rasmusson 2016-09-21 14:06:51 +02:00
  • 359f15671c separate merging of term match sublists for individual docs into a separate function Brian Rasmusson 2016-09-21 14:04:54 +02:00
  • 6def0c95d4 Add more posdb bucket test Ai Lin Chia 2016-09-21 13:20:24 +02:00
  • cd38632868 Make logic more generic by checking useIndexFile instead of directly checking for POSDB Ai Lin Chia 2016-09-21 12:35:11 +02:00
  • f962753df2 Use KEYCMPNEGEQ instead of redefining compare functions in RdbBuckets Ai Lin Chia 2016-09-21 12:33:24 +02:00
  • 8b09f864a2 Simplify code Ai Lin Chia 2016-09-21 12:30:09 +02:00
  • f6443a7af8 Use for loop instead of goto Ai Lin Chia 2016-09-20 15:34:46 +02:00
  • 9aac7cb794 We need to write RdbIndex even with no new docids added since we're adding the RdbTree/RdbBucket key count as well for verification Ai Lin Chia 2016-09-20 15:33:43 +02:00
  • 916eaaecbe Fix misleading log line Ai Lin Chia 2016-09-20 15:33:33 +02:00
  • f39e9e67fb Avoid calling getSingleTermScore with NULL-list. Fix detection of highest siterank of inlinkers Brian Rasmusson 2016-09-20 19:18:49 +02:00
  • e115676133 Removed check for low-address allocations in Mem.cpp Ivan Skytte Jørgensen 2016-09-20 16:50:30 +02:00
  • 6d17761e1b Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-20 15:56:08 +02:00
  • 12563ae2fe More DRD suppressions Ivan Skytte Jørgensen 2016-09-20 15:55:25 +02:00
  • 2820a0e9ba Better log for slow heartbeat calls Ivan Skytte Jørgensen 2016-09-20 15:53:52 +02:00
  • c6a4269efa Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-20 15:29:58 +02:00
  • a951bbb13a Temporarilysuppres DRD warnigns about bigfile/file race conditions on file handles Ivan Skytte Jørgensen 2016-09-20 15:29:32 +02:00
  • 948bfb0f7a DRD warnign suppression for settimeofdayinmilliseconds() Ivan Skytte Jørgensen 2016-09-20 15:28:46 +02:00
  • 81910b4347 Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-20 15:26:16 +02:00
  • 52033f6d3b Don't overwrite pinginfo from ourselves (would lose updates since it was sent) Ivan Skytte Jørgensen 2016-09-20 15:25:46 +02:00
  • 912e403174 Removed false warning from Summary.cpp Ivan Skytte Jørgensen 2016-09-20 14:57:23 +02:00
  • 1c450f0499 Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-20 14:46:36 +02:00
  • b2a1f77666 Statistically initialize local static to hash value Ivan Skytte Jørgensen 2016-09-20 14:45:59 +02:00
  • bcb1e88439 Use static const g_hashtab instead of calculating/generating it upon each startup Ivan Skytte Jørgensen 2016-09-20 14:21:03 +02:00
  • 00fec9616a bugfix valgrind check in getSingleTermScore(): sometimes 'wpi' is null while 'endi' isn't Ivan Skytte Jørgensen 2016-09-20 14:17:20 +02:00
  • b423983367 Remove offset args which is always set to 0 Ai Lin Chia 2016-09-20 13:51:08 +02:00
  • 7a98fd7b1b Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-20 13:43:29 +02:00
  • 4c4f5daedb Fix datasize for on-the-fly additions. More logs Ai Lin Chia 2016-09-20 13:37:54 +02:00
  • 8454da1376 Use rdbid_t for rdbId instead of char Ai Lin Chia 2016-09-20 13:36:36 +02:00
  • c4ff31ee71 Remove commented out code Ai Lin Chia 2016-09-20 13:17:33 +02:00
  • 6fb567cf0f Code style changes Ai Lin Chia 2016-09-20 13:17:09 +02:00
  • 998aa36925 Remove always 0 offset Ai Lin Chia 2016-09-20 13:16:48 +02:00
  • 726d28df8e Remove unnecessary header Ai Lin Chia 2016-09-20 13:14:55 +02:00
  • f3cb1a32d3 Remove rmtest Ai Lin Chia 2016-09-19 16:52:53 +02:00