117 Commits

Author SHA1 Message Date
0302452f25 Merge branch 'master' into sto 2017-12-11 15:01:07 +01:00
6ff1f91726 Moved rankign/scoring parameters into a single struct BaseScoringParameters
The ranking parameters/weights/flags/etc were spread over many variables and difficult to keep track of. Collected into a single struct for easier overview.
2017-12-11 14:44:58 +01:00
dd1e08f0cc Use BaseScoringParameters struct more places 2017-12-08 13:54:15 +01:00
542bb564a6 Merge branch 'master' into sto 2017-12-08 11:31:47 +01:00
34a3ea8d1b More const members in SearchInput 2017-12-08 10:44:27 +01:00
5d5e333f89 Removed unused SearchInput::m_displayOutlinks 2017-12-07 16:30:18 +01:00
267daa0e96 Made siterankmultipler configurable 2017-12-07 15:34:11 +01:00
2c64859421 Made wordvarition stuff configurable. made wordvariation-da handle indefinite->definite variations 2017-11-24 16:43:19 +01:00
36fd2c2615 Made lang-spec word variations configurable 2017-11-24 14:19:50 +01:00
f9ee20cae9 Renamed m_queryExpansion to m_wiktionaryWordVariations 2017-11-24 12:47:11 +01:00
128790084b Use lang_t enum more than just plain uint8_t 2017-11-21 16:18:45 +01:00
74dfc5f9f0 Removed some of the co-branding parameters 2017-11-10 17:06:22 +01:00
de5362ddbd Add ResultOverride for exact url 2017-10-26 11:09:44 +02:00
53678e151e Move some SearchInput query parameters into SearchInput object 2017-10-23 16:39:35 +02:00
da674d4abe Remove unused SearchInput::m_gbcountry 2017-10-23 15:53:06 +02:00
8a72b10b33 Made bigram weight configurable 2017-09-01 13:57:46 +02:00
aadcceca90 Made termFreqWeight and frequency configurable and overridable. Made it possible to use other weights in a frontend UI and pass them to GB, and have them converted to internal values by prefixing the cgi param with fxui_. Synchronized cgi-parm names. 2017-04-30 20:23:09 +02:00
238c36c019 split language match boost and unknown language boost into two different ranking weights 2017-04-29 20:24:00 +02:00
1e6451ed0c made page temp min/max weight configurable and overridable 2017-04-28 16:43:14 +02:00
ff559334b5 Remove unused config variables 2017-03-28 23:18:49 +02:00
37483e550d Made ranking weigths controllable with cgi parameters 2017-01-26 15:24:44 +01:00
c132b2c495 Dropped SearchInput::makeKey() - it is no longer used 2017-01-26 14:46:45 +01:00
710cf04a65 Dropped SearchInput::test()
It never worked
2017-01-26 14:44:17 +01:00
1123e4fe2f Support CGI parameter synonym_weight 2017-01-20 14:52:54 +01:00
02c8d35638 Support CGI parameter use_page_temperature 2017-01-20 14:43:55 +01:00
064d018421 Make ranking settings tunable via CGI (step 1)
Parms::setFromRequest) handle array parameters
Added ranking settings to SearchInput.
2017-01-20 14:14:25 +01:00
4f7b646bb7 SearchInput::m_doQueryHighlighting char->bool 2017-01-20 12:36:31 +01:00
e4602d330e Remove always 0 argument 2016-11-23 15:52:03 +01:00
665c4af407 Stop #including Collectiondb.h from header files (mostly) 2016-11-12 20:29:38 +01:00
b8a1bb2971 simplified code flow, char -> bool in SearchInput 2016-10-21 13:28:20 +02:00
7b5e4c351d char -> bool in SearchInput 2016-10-20 11:22:22 +02:00
3ddd7029ac more various char -> bool fixes. yep, bored today.. 2016-10-19 16:23:11 +02:00
a77cd58005 char -> bool in Collectiondb, Msg20, Msg39 and SearchInput 2016-10-19 13:28:04 +02:00
a040a78c99 Use key96_t instead of key_t and redefining std lib key_t (which breaks std lib functionality that uses key_t) 2016-09-02 14:49:06 +02:00
c42c46cb14 Support fx_qid. Carried all the way through to msg39request 2016-06-17 14:03:31 +02:00
cfb695ea7e Fix conversion from string literal to 'char *' for SearchInput 2016-05-31 11:26:02 +02:00
5fd067b470 Added cgi parameter 'minmsgthreeatimeout' to extend the msg3a->msg39 timeout 2016-05-19 16:09:53 +02:00
a746eb91e5 Support enabling/disabling high-freq-term-cache via CGI parameter 2016-05-13 16:07:58 +02:00
f77038be06 Support limiting results to one shard/host
'aos' cgi parameter, default 1. If 0 the host will only ask itself.
2016-05-13 15:35:00 +02:00
642552d040 Cleanup in Mem.h
Removed unnecessary #includes. Turned out that includign Mem.h was mostly
equivalent to #include *.* because Mem.h would pull in Xml.h, File.h Hostdb.h
etc. A small step toward making header files and modules self-contained.
2016-03-14 00:37:18 +01:00
ab0b9d03ea Standardize header guards 2016-03-08 22:16:02 +01:00
c6c7d34bb0 Re-add configurable title length 2016-03-03 17:34:37 +01:00
7255c7aa23 Remove more unused variables/settings/functions 2016-03-02 20:09:25 +01:00
ab6dbd225e Remove unused variable, modify char to bool for variable used as bool 2016-03-02 11:52:50 +01:00
b61cb47aad Remove unused/set only variable 2016-03-01 16:43:23 +01:00
5e1ca3ee76 Remove unused m_queryMatchOffsets 2016-02-28 14:25:28 +01:00
b69c90df10 Remove m_boolFlag variable 2016-02-28 13:03:02 +01:00
9adf67d7d6 Remove commented out code 2016-02-28 12:58:26 +01:00
1fa8974e41 Remove m_refs_* unused variables 2016-02-28 12:53:34 +01:00
14243da1b3 Remove m_rp_* unused variables 2016-02-28 12:51:14 +01:00