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
f3f5eefcb6
First batch of changes streamlining emergency shutdown code
2016-06-20 12:30:26 +02:00
846f666bbb
Don't use static buffer in Phrases::getPhrase() (not thread-safe)
2016-05-27 16:02:21 +02:00
ad7bb591af
Re-added private access specifier in Words class
...
Caused quite a lot of changes where other code hand its dirty hands in the
innards of Words. Added necessary accessor methods, and used the opportunity to
add const if possible.
2016-05-23 16:41:14 +02:00
d40ecb2f8e
Replace INT32/INT64 and likes with PRId32 and likes. Add space before definition.
2016-05-20 09:18:32 +02:00
d1d9bf35b3
Fix more compiler warnings
2016-05-19 18:42:02 +02:00
36c3c19f6e
Added support for searching on term id. Use gbtermid:<id>
2016-05-13 14:34:53 +02:00
bf57e59590
Use queries map when we're not matching partial/case sensitive.
...
Remove more tracking params.
Combine strip session id & tracking param into one setting. Doesn't make sense to have 2 separate setting.
2016-05-10 16:15:31 +02:00
09c15a8f88
More Url::set changes. Add more overloads for all false parameters.
2016-04-05 23:21:51 +02:00
34a4d08cd1
Add Url::set overload for all false boolean paramater
2016-04-05 23:21:50 +02:00
5ccfde3e2a
Remove titleRecVersion from Url.h/Url.cpp. Checks there are versions from before gigablast was open-sourced
2016-04-05 23:21:50 +02:00
19553087a1
Improve Query:.dumpToLog()
2016-03-17 13:59:38 +01:00
c7ec4c87b1
Added Query::dumpToLog() method
2016-03-14 12:18:08 +01:00
fd3506cab9
Fixed inclusion of unused header files
2016-03-12 17:59:38 +01:00
e7776b3241
Query::setQTerms() di not use 'phrases' parameter
2016-03-11 16:31:35 +01:00
c4160c34f3
Use example.com for examples, and 192.0.2/24 for example IP addresses / nets
2016-03-10 13:37:23 +01:00
f4fa066a9a
Fix bug where bigrams was not searched for
2016-03-07 17:06:44 +01:00
461cf8ad75
Remove unused g_indexdb
2016-03-03 21:57:28 +01:00
7255c7aa23
Remove more unused variables/settings/functions
2016-03-02 20:09:25 +01:00
1dea14a181
Fix compilation error
2016-03-02 12:59:02 +01:00
5bb9e3c678
Remove more unused variable & functions
2016-03-02 12:52:49 +01:00
681617a328
Remove unused fields/variables
2016-03-02 12:30:15 +01:00
ab6dbd225e
Remove unused variable, modify char to bool for variable used as bool
2016-03-02 11:52:50 +01:00
79223684a1
Remove unused variable/function
2016-03-02 10:49:33 +01:00
414db8741d
Fix compilation error & remove now unused variable
2016-03-01 16:48:46 +01:00
f5c29cc183
Fix compilation error
2016-03-01 16:44:29 +01:00
b61cb47aad
Remove unused/set only variable
2016-03-01 16:43:23 +01:00
0b36da04a6
Remove 'static' input variable
2016-03-01 11:45:58 +01:00
26f015e9c2
Removed Query::printBooleanTree() which was effectively a no-op
2016-02-29 16:25:07 +01:00
89786b1380
More constness in Query
2016-02-29 16:09:09 +01:00
b9bf8b1257
Changed QueryTerm::m_inPhrase from char to bool
2016-02-29 16:01:58 +01:00
c9986ac472
Initialize all members in Query::constructor()
2016-02-29 12:23:29 +01:00
faf8bb4acd
Remove unused getFieldCode2 & getFieldCode3 funcations
2016-02-28 13:08:18 +01:00
d1b75390d5
Remove commented out codes
2016-02-25 22:41:33 +01:00
14b4457a8d
Remove unused version variable from Phrases::set
2016-02-25 16:59:06 +01:00
b5d7b6e26c
Remove more facet codes
2016-02-25 16:54:56 +01:00
4c06d6c706
More constness for Query methods
2016-02-25 16:05:56 +01:00
0792686a51
Removed or commented out unreachable code
2016-02-25 15:07:05 +01:00
bd758c10e0
Removed references to MetaLINCS
2016-02-25 12:21:00 +01:00
cc1a433251
Add timing log in XmlDoc for query. Optimize Phrases.cpp. Remove unused codes
2016-02-24 16:12:05 +01:00
610ffee21b
Remove facets & unused sections hashes
2016-02-24 13:37:41 +01:00
866ae94f30
Remove more gigabit stuff
2016-02-24 00:32:44 +01:00
5ac65cb307
Remove unreachable code in Query.cpp
2016-02-17 17:23:41 +01:00
a65db9867a
Do not hash num inlinks, tagvector, common web words (www, http)
2016-01-17 23:27:29 +01:00
e0fac73695
Got rid of default parameter values in Url.cpp set functions. Added support for removal of common tracking parameters in URLs.
2016-01-17 22:49:02 +01:00
aaac641766
No longer hash tag records and links from unwanted domains
2016-01-17 16:48:18 +01:00
2c14f659e4
Remove similar/unused Words::set methods
2016-01-12 11:46:28 +01:00
273d681009
Removed unused stuff from posdb, like sorting entries for all numbers and facets
2016-01-09 10:39:19 +01:00
afe57ab085
Removed unneeded data from posdb and a bit code cleanup
2016-01-07 14:41:17 +01:00