Commit Graph

  • c8aa00ca7f -Wno-uninitialized -> -Wno-maybe-uninitialized Ivan Skytte Jørgensen 2016-05-19 11:55:22 +02:00
  • c31d106e88 uninitialized stuff Ivan Skytte Jørgensen 2016-05-19 11:49:24 +02:00
  • 5dffb65a0a Use empty string instaed of fictitious site when deleting docs Ivan Skytte Jørgensen 2016-05-19 11:38:39 +02:00
  • 205edffd4b Ignore exit code of test target in Makefile Ai Lin Chia 2016-05-19 11:06:38 +02:00
  • ff582c08a5 Add valgrind rc file for default configuration Ai Lin Chia 2016-05-19 11:00:04 +02:00
  • 3df4332850 Use logTrace Ai Lin Chia 2016-05-18 16:48:50 +02:00
  • 6482fc6ad0 Fix parameter mixup of NULL/bool Ivan Skytte Jørgensen 2016-05-18 16:00:12 +02:00
  • 98b20644b8 more constness in SafeBuf Ivan Skytte Jørgensen 2016-05-18 15:44:13 +02:00
  • c02d6a9bd4 Add m_logTraceMem for detailed tracing of Mem functions Ai Lin Chia 2016-05-18 15:41:46 +02:00
  • c1cf1ba827 Use O3 optimization for UrlParser & UrlComponent Ai Lin Chia 2016-05-18 11:41:58 +02:00
  • 04e203d594 Use auto Ai Lin Chia 2016-05-18 11:41:07 +02:00
  • 567471478a Simplify UrlTest Ai Lin Chia 2016-05-18 11:38:34 +02:00
  • 4f4b54694b More logic error. Unit test to come Ai Lin Chia 2016-05-18 12:55:26 +02:00
  • a24c921547 Fix logic error Ai Lin Chia 2016-05-18 12:49:27 +02:00
  • d0a7c48c1d Add log levels Ai Lin Chia 2016-05-17 16:31:37 +02:00
  • b72b451421 Use auto & std::next Ai Lin Chia 2016-05-17 14:25:32 +02:00
  • e0ae7c8824 Rename UrlParser::m_domain to UrlParser::m_hostName Ai Lin Chia 2016-05-17 14:16:31 +02:00
  • 51509f3a1e Unused variable initialization value. Merge statement Ai Lin Chia 2016-05-17 11:35:09 +02:00
  • e28c13eba3 Replace INT32 with PRId32, etc.. Use logTrace. Code style changes. Ai Lin Chia 2016-05-17 11:14:51 +02:00
  • 7359ca2f29 Removed stack-buffer-overflow in printSearchFiltersBar. g_flagBytes was not initialized correctly. Removed entirely as it was unused anyway.. Brian Rasmusson 2016-05-17 15:46:14 +02:00
  • 34a917c3ec Added UTF-8 BOM to avoid crash in hash64Lower_utf8 when hashing stopwords with Danish letters Brian Rasmusson 2016-05-17 15:17:26 +02:00
  • ea6ab6d86b Fix encoding (was tored in a mix of koi8-r, iso8859-1. Not only utf8 is used Ivan Skytte Jørgensen 2016-05-17 15:06:40 +02:00
  • 22eafb6aed Fixed read-out-of-bounds found by -fsanitize. Date conversion function tried to read time from a date string that did not contain timestamp Brian Rasmusson 2016-05-17 13:59:38 +02:00
  • 20a70301c2 Change log level Ai Lin Chia 2016-05-17 10:58:46 +02:00
  • 83bb83a554 Remove unused msg5b Ai Lin Chia 2016-05-13 17:50:21 +02:00
  • 159bf186b9 Add log level Ai Lin Chia 2016-05-13 17:17:01 +02:00
  • 5c26e17973 Remove unused Msg0::msg5b Ai Lin Chia 2016-05-13 17:16:30 +02:00
  • 4b65da66c8 More constness in RdbTree.h (flagged by flexelint) Ivan Skytte Jørgensen 2016-05-16 14:22:52 +02:00
  • 4c07b6a390 Removed effectively unused code from Log.* Ivan Skytte Jørgensen 2016-05-13 17:47:19 +02:00
  • 272062bd50 constness Ivan Skytte Jørgensen 2016-05-13 17:36:27 +02:00
  • d36cad984a removed redundant const decl Ivan Skytte Jørgensen 2016-05-13 17:36:14 +02:00
  • 7978864531 More constness in XmlDoc when using Words Ivan Skytte Jørgensen 2016-05-13 17:21:22 +02:00
  • 1da3e74bc6 More constness in Bits.* Ivan Skytte Jørgensen 2016-05-13 17:11:59 +02:00
  • 5bc5ccc9e2 more constness Ivan Skytte Jørgensen 2016-05-13 17:07:07 +02:00
  • fe6d3a374e Removed unused methods/functions from Words.* Ivan Skytte Jørgensen 2016-05-13 16:41:39 +02:00
  • 3ae2ee562f constness Ivan Skytte Jørgensen 2016-05-13 16:37:49 +02:00
  • c178fd69b8 goto-loop conversion Ivan Skytte Jørgensen 2016-05-13 16:33:41 +02:00
  • a746eb91e5 Support enabling/disabling high-freq-term-cache via CGI parameter Ivan Skytte Jørgensen 2016-05-13 16:07:58 +02:00
  • f46dd31fcf typo Ivan Skytte Jørgensen 2016-05-13 16:01:59 +02:00
  • f77038be06 Support limiting results to one shard/host Ivan Skytte Jørgensen 2016-05-13 15:24:36 +02:00
  • 36cf357f13 Change g_loop.runLoop to void + noreturn Ai Lin Chia 2016-05-13 15:33:46 +02:00
  • aa1327753e Add logTrace rdb buckets, code style changes, change maxTreeMem to 20Mb Ai Lin Chia 2016-05-13 14:40:34 +02:00
  • 1cad1f5999 Remove code where Url::set is basically called twice for every Url::set to check if Url is stable Ai Lin Chia 2016-05-13 14:28:42 +02:00
  • 050b44f1bc Replace INT32 & likes to standard defines Ai Lin Chia 2016-05-13 11:52:36 +02:00
  • 36c3c19f6e Added support for searching on term id. Use gbtermid:<id> Brian Rasmusson 2016-05-13 14:34:53 +02:00
  • 194c5536f3 Minor fixes for /health-check Brian Rasmusson 2016-05-13 14:00:08 +02:00
  • 0f93e905b4 Merge branch 'master' of https://github.com/privacore/open-source-search-engine Brian Rasmusson 2016-05-13 11:55:07 +02:00
  • b9883dc669 Added /health-check page to be used by front-end servers (and perhaps later monitoring systems) to check instance availability and load Brian Rasmusson 2016-05-13 11:54:42 +02:00
  • bcd5f5a7eb Code style changes & more logs Ai Lin Chia 2016-05-13 11:38:48 +02:00
  • 33af72b5a5 Add trace logs for Rdb Ai Lin Chia 2016-05-13 11:34:23 +02:00
  • e0d7ffbabe Code style changes for Process.cpp Ai Lin Chia 2016-05-13 11:32:37 +02:00
  • b25e30e128 Partially fix broken unit test from ellipsis changes Ai Lin Chia 2016-05-13 11:31:28 +02:00
  • a97fd76a85 Add configurable parameters for posdb & titledb maxTreeMem Ai Lin Chia 2016-05-13 11:06:48 +02:00
  • 377e688a0e Add log levels and return -1 instead of using false - 1 Ai Lin Chia 2016-05-12 13:58:41 +02:00
  • 2a2f832225 Use horizontal elipsis code poitn 2026 Ivan Skytte Jørgensen 2016-05-12 16:39:15 +02:00
  • 3670784834 constness here and there Ivan Skytte Jørgensen 2016-05-12 16:15:49 +02:00
  • 70d7209420 more constness of getWordToPhraseRatioWeights() Ivan Skytte Jørgensen 2016-05-12 14:18:34 +02:00
  • ee90e17d76 more constness Ivan Skytte Jørgensen 2016-05-12 14:09:10 +02:00
  • 5c8506b753 more constness in Bits.* Ivan Skytte Jørgensen 2016-05-12 12:49:38 +02:00
  • b73bc3c819 Remove commented out code. Simplify statements. Replace INT32/INT64 with PRId32/PRId64. Ai Lin Chia 2016-05-12 12:45:48 +02:00
  • 99aa44670f Fix issue with duplicated cgi_Name Ai Lin Chia 2016-05-12 11:05:32 +02:00
  • dd98f5f79e Remove unused method Ai Lin Chia 2016-05-12 11:04:10 +02:00
  • 2514241647 Add log level Ai Lin Chia 2016-05-12 10:59:30 +02:00
  • 0da868acd4 Code style changes Ai Lin Chia 2016-05-12 10:35:33 +02:00
  • 830eb6c1ab Split g_conf.m_logDebugDetailed into g_conf.m_logTraceFile & g_conf.m_logTraceDns Ai Lin Chia 2016-05-11 17:44:54 +02:00
  • a18229b625 Fix compiler warnings Ai Lin Chia 2016-05-11 16:49:47 +02:00
  • d4d3854910 Remove unused functions Ai Lin Chia 2016-05-11 16:30:27 +02:00
  • 7b79af5413 Use separate configuration parameter for logging trace RdbDump. Ai Lin Chia 2016-05-11 15:59:48 +02:00
  • 9e8b2dbfae Code style changes. Add log level to logging. Ai Lin Chia 2016-05-11 15:05:21 +02:00
  • db94bf618c Add PRIVACORE_TEST_VERSION defines which reduces the part/page size for testing Ai Lin Chia 2016-05-11 13:45:40 +02:00
  • 6845b5dc75 Add log levels. Simplify statements Ai Lin Chia 2016-05-11 12:07:39 +02:00
  • 8275986939 Add log levels & code style changes Ai Lin Chia 2016-05-11 12:06:30 +02:00
  • bb17424af9 Add constness Ai Lin Chia 2016-05-11 12:05:36 +02:00
  • d51db114e7 cleanup getWordToPhraseRatioWeights() Ivan Skytte Jørgensen 2016-05-10 16:25:38 +02:00
  • 85cafde317 Add build config information Ai Lin Chia 2016-05-10 15:58:55 +02:00
  • f2ee219460 Use KEYSTR instead of hex dump Ai Lin Chia 2016-05-10 15:46:37 +02:00
  • d01f625d38 Extend hack for removing sessionid to any url changes Ai Lin Chia 2016-05-10 14:23:52 +02:00
  • 9b2d725e22 Add log warn for error log messages. Remove unused variables. Ai Lin Chia 2016-05-10 13:26:51 +02:00
  • 762ec33145 Fix error Parm #491 "log trace info for Msg4" has number in cgi name. Ai Lin Chia 2016-05-10 11:55:06 +02:00
  • 2b46bde1f4 Silent more compiler warnings (for now) Ai Lin Chia 2016-05-09 17:24:59 +02:00
  • 32366636dd Remove register keyword Ai Lin Chia 2016-05-09 16:01:43 +02:00
  • eeebeec2e6 Use logTrace. Remove redundant addMetaList method. Ai Lin Chia 2016-05-09 15:48:24 +02:00
  • 1f7fa77114 Code style changes. Removed commented out codes. Simplify statements. Ai Lin Chia 2016-05-09 14:19:28 +02:00
  • 979beef6c4 Use configured value instead of hard coded 2 to decide when to merge spiderdb files Ai Lin Chia 2016-05-09 13:37:16 +02:00
  • 7109f2e5e8 Remove commented out code Ai Lin Chia 2016-05-09 13:37:00 +02:00
  • d69ddb1be6 Fix compilation error Ai Lin Chia 2016-05-09 12:11:23 +02:00
  • 2e37c7cb78 Remove commented out code / unused include Ai Lin Chia 2016-05-09 12:09:39 +02:00
  • f1906d62a4 Remove unused RDBs Ai Lin Chia 2016-05-09 10:47:44 +02:00
  • d2a9feddf1 Code style changes. Remove unused variable. Simplify statements Ai Lin Chia 2016-05-06 16:43:05 +02:00
  • 5f78615576 Code style changes & remove unused variable Ai Lin Chia 2016-05-06 15:32:51 +02:00
  • a8574a105b Add log level to warning/error logs Ai Lin Chia 2016-05-06 13:51:28 +02:00
  • 8aeab1e8f1 Add m_cgi for newly configurable values Ai Lin Chia 2016-05-06 11:18:14 +02:00
  • a7e4302628 Remove placedb Ai Lin Chia 2016-05-03 12:28:01 +02:00
  • 16fc26e5da Remove unused code Ai Lin Chia 2016-05-03 12:17:00 +02:00
  • 1cfbea06f6 Add constness Ai Lin Chia 2016-05-03 12:12:12 +02:00
  • 31250edcd8 Add m_spiderdbMaxTreeMem & rearrange some parameters in Conf.h. Rename PAGE_DATAFILE to PAGE_RDB Ai Lin Chia 2016-05-03 11:48:48 +02:00
  • 1d84d20a2d Ignore more clang++ warnings. Don't link with iconv64 for unit test Ai Lin Chia 2016-05-03 11:31:59 +02:00
  • e17eaeaaf7 Simplify statements. Remove unused codes. Ai Lin Chia 2016-05-03 11:25:37 +02:00
  • acce9b3cfc Code style changes. Remove commented out codes. Simplify statements Ai Lin Chia 2016-05-03 10:58:42 +02:00
  • 9378c41bf6 Code style changes Ai Lin Chia 2016-05-03 10:50:06 +02:00