17f1cf8a2e
Removed unused Query::m_hasQuotaField
2017-05-30 15:14:26 +02:00
4df8d5281a
Fix tldhint for query input
2017-05-23 16:47:17 +02:00
94ed876caa
Use correct 'queryExpansion' for Query:.set2()
...
It was hardcoded to true for highligting and inlink-text. Chnage to use the proper input form SearchInput/global-conf
2017-05-16 12:11:24 +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
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
e1ff573de7
Removed dubious logi about family filter
...
If output format wasn't html then it switched family filter off. It id that between reset-to-defaults and set-to-cgi-parameter-values.
But output format shouldn't have any effect on family filter.
2017-01-20 12:24:03 +01:00
1777c7bd6c
goto-loop --> do-while
2017-01-19 16:02:01 +01:00
2923a3e3cc
Better encapsulation of Parms
2017-01-19 14:36:25 +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
aba937780d
Stop #including Conf.h from header files
2016-11-12 20:24:20 +01:00
9e8fc9c785
Use plain copy instead of stealBuf() in searchinput
2016-11-07 14:32:09 +01:00
b8a1bb2971
simplified code flow, char -> bool in SearchInput
2016-10-21 13:28:20 +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
100731b4d2
Moved SafeBuf:.urlEncode() to a standalone function
2016-10-07 15:47:24 +02:00
92ba3b89ae
init class members in SearchInput
2016-09-27 17:11:35 +02:00
aa760f30bf
Use square angles for cld2
2016-09-23 14:23:51 +02:00
1f8418e022
More constness in Query.*
2016-09-19 12:20:26 +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
4e4e3371e6
Log function will now return void instead of a boolean
2016-08-01 18:12:10 +02:00
3c2773a928
Removed gbstrlen()
...
gbstrlen() just checked for NULL and called gbshutdownAbort(). Dereferncing NULL on mordern platforms cases a SIGSEGV which is cought by our signal handler and .... gbshutdownAbort() is called. So gbstrlen() was superfluous and complicated static analysis.
2016-07-28 17:04:35 +02:00
6d39517728
Remove ETOOMANYOPERANDS. g_errno is never set to ETOOMANYOPERANDS
2016-06-29 16:34:46 +02:00
d40ecb2f8e
Replace INT32/INT64 and likes with PRId32 and likes. Add space before definition.
2016-05-20 09:18:32 +02:00
8d9104fa23
Speed up family filter
...
Changed it from an implicit gbadult: term to a post-query filter. This is much
faster because gbadult term is in all documents, and post-query filter is cheap
compared to that. Searching for adult words with family filter enabled is still
slow.
2016-05-09 14:30:19 +02:00
fd3506cab9
Fixed inclusion of unused header files
2016-03-12 17:59:38 +01:00
418ac72e2a
Fix compilation error
2016-03-03 13:39:30 +01:00
25ee135b1e
Remove diffbot specific code
2016-03-03 13:38:31 +01:00
64e88418af
Remove support for CSV which doesn't work currently anyway (returns an empty file)
2016-03-03 13:38:31 +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
88f4fe7f1e
Removed always-true/false subexpressions involving 'cr' and 'langAbbr'
2016-02-29 12:28:48 +01:00
b69c90df10
Remove m_boolFlag variable
2016-02-28 13:03:02 +01:00
9454c489a8
Removed declaration of not implemented methods
...
26 removed or comented out. According to flexxelint there are still 143 left,
but this must be enough for today.
2016-02-26 11:48:19 +01:00
7b45665e17
Added const qualifier to some APIs
...
A few casts back to non-const were necessary in order to keep the patch size
manageble.
2016-02-26 10:29:13 +01:00
d1b75390d5
Remove commented out codes
2016-02-25 22:41:33 +01:00
b5d7b6e26c
Remove more facet codes
2016-02-25 16:54:56 +01:00
866ae94f30
Remove more gigabit stuff
2016-02-24 00:32:44 +01:00
6224fc22b3
Remove m_numTopics for gigabits
2016-02-23 22:36:22 +01:00
d33045349a
Remove m_docsToScanForTopics used for gigabits
2016-02-23 22:32:34 +01:00
3bae6aa5f6
Removed constant-value SearchInput::m_numTopicGroups (always 1)
2016-01-29 16:01:31 +01:00
063464f786
Removed unused SearchInput members m_sbuf3 and m_cookieBuf
2016-01-29 15:53:40 +01:00