43 Commits

Author SHA1 Message Date
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
eef755ee6b Make URL realtime classification configurable 2017-02-09 15:30:44 +01:00
0c41ef63f2 Deleted Msg3a serialization/deserialization (no longer used) 2017-02-09 14:41:07 +01:00
adfcb987dd removed comments about Msg37
Doesn't exist and hasn't existed for several years.
2017-02-02 16:04:07 +01:00
534466a2db Carry docid flags all the way from PosdbTable scoring back to json result page 2017-01-09 16:11:44 +01:00
9cef1bcdc3 Msg3a always used its own m_msg39req. Dropped the m_msg39 pointer 2017-01-09 14:42:05 +01:00
7963b384de Renamed Msg3a::m_rrr to m_msg39req 2017-01-09 14:20:46 +01:00
e5be45a6a6 Removed unused parameter 'specialHost' from Msg3a::getDocIds() 2017-01-09 14:17:19 +01:00
d0b57ec485 Moved DEFAULT_POSDB_READSIZE #define from Msg3a.h to Msg2.cpp 2017-01-09 14:14:04 +01:00
e93544c139 Slightly better encapsulation of Msg3a 2017-01-09 14:11:15 +01:00
8e027b61b8 constness on methods in msg40 and Msg3a 2017-01-09 13:09:30 +01:00
bf3ea9ece9 Renamed Msg3a::m_r to m_req39 2016-11-10 14:06:08 +01: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
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
ab0b9d03ea Standardize header guards 2016-03-08 22:16:02 +01:00
461cf8ad75 Remove unused g_indexdb 2016-03-03 21:57:28 +01:00
035a2f3e59 Send back in results an estimate of how much of the desired index scope was actually searched.
Dead shards and deadline-cutoff docid splits subtract from this. Unavailable
summaries have no influence on the estimate.
2016-03-01 14:14:58 +01:00
fc5db70663 Removed unreferenced fields in Msg40/Msg3a 2016-03-01 11:28:20 +01:00
b5d7b6e26c Remove more facet codes 2016-02-25 16:54:56 +01:00
32147c302c Remove more commented out codes & unused sections codes 2016-02-24 11:56:54 +01:00
79de2d6dcc Improved query log so we can see how much time it takes each host to reply to a query 2016-02-19 19:06:36 +01:00
4761ae5d04 Msg3a::m_debug -> bool 2016-02-16 14:41:22 +01:00
3dcba0627e Join Msg3a::getDocIds() and msg3a::gotCacheReply() (tail call) 2016-02-05 14:59:16 +01:00
e53a1ff7bc Removed decl. of unimplemented Msg3a methods: gotReranked/gotClusterRecs/gotClusterLevels 2016-02-05 14:55:26 +01:00
9aff3c6c6c Removed seo-related stuff from Msg3a 2016-02-05 14:52:45 +01:00
e3819fbb11 Remove commented out codes 2015-12-18 15:19:55 +01:00
4286fe3bc3 More cleanup & formating changes 2015-12-10 12:12:50 +01:00
6184e376a4 Cleanup related to languages/Compiler warnings 2015-11-23 14:45:18 +01:00
f088e734f6 allow up to 3000 query terms. really we can allow
much more since we are mostly dynamically allocating,
only a few smaller arrays use the 3000 on the stack.
2015-07-10 19:02:30 -06:00
a97f1fcad0 add skippedshards and totalshards to search results in xml/json
so you know if you are missing results from a dead shard or not.
all hosts must be dead in shard for shard to be dead.
2015-02-27 08:17:32 -07:00
0a3d26f893 added support for &nf=50 to limit to top 50 facets. 2015-01-29 10:34:22 -07:00
4e8a42e024 text replacements for bad int32_t substitutions 2014-11-17 18:24:38 -08:00
96b8197ad3 now it compiles with -m32 2014-11-10 14:45:11 -08:00
e7dd8f7956 replace long long with int64_t 2014-10-30 13:36:39 -06:00
d9ae010371 shard gbfacetstr:gbxpathsitehash123456 terms by termid for speed.
got them working again multicasting a msg 0x39 to the appropriate shard.
set special msg39request flag for better performance for those guys.
2014-07-07 12:32:27 -07:00
b0e82edc93 new facet crap compiling now. 2014-06-20 12:28:50 -07:00
c314e61968 make sectiondb stats just a special case of facets 2014-06-17 16:39:02 -06:00
1d766826ae retry if too man docids deduped when &stream=1 2014-05-01 17:07:31 -07:00
e351d2a6f1 get searching on token working 2014-03-06 17:01:41 -08:00
27e8e810d2 use collnum instead of coll string.
more stable since resetting collections
keeps string the same but changes the collnum.
2014-03-06 15:48:11 -08:00
25cf0efdbf first compiled stab at multi collection searching. 2014-03-06 10:45:13 -08:00
2d4af1aefe index numbers as integers too, not just floats
so we can sort by spider date without losing
128 seconds of resolution.
2014-02-06 20:57:54 -08:00
f6e560c1f4 Initial file population. 2013-08-02 13:12:24 -07:00