168 Commits

Author SHA1 Message Date
56b3d94312 Addec comment explaining "nwp[mink][2] & 0x03" actually is
Near "hack of confusion"
2017-06-01 17:28:48 +02:00
ab595df934 Moved sanity check inside if() (nullptr is never>) 2017-06-01 16:56:30 +02:00
54f939a1aa Turned PosdbTable::m_qdist into a normal local+parameter 2017-06-01 16:56:30 +02:00
389d448860 Simplify ocde in findMinTermPairScoreInWindow() a bit 2017-06-01 16:56:30 +02:00
61d99d8d68 Only shrink sublists once
delNonMatchingDocIdsFromSubLists() was being called for each qti. delNonMatchingDocIdsFromSubLists then iterated over the sublists for the qti, but didn't take into account that the subslists for bigrams belongs to two terms.
2017-06-01 16:07:56 +02:00
4da8a3594e Minor reformatting in PosdbTable::setQueryTermInfo() 2017-05-30 12:28:53 +02:00
9b233ca842 Removed obsolete comments from PosdbTable::setQueryTermInfo() 2017-05-30 12:22:36 +02:00
14a9f82971 goto -> for() 2017-05-29 15:13:37 +02:00
b92b9c0053 Simplify loop condition in PosdbTable::delNonMatchingDocIdsFromSubLists() 2017-05-29 15:10:29 +02:00
8ce39f96d8 const 2017-05-29 15:04:07 +02:00
312ab7ebb9 Removed useless 'continue' and end of loop 2017-05-29 14:52:28 +02:00
20c0a751d3 Slight code cleanup in PosdbTable::delNonMatchingDocIdsFromSubLists() 2017-05-29 14:43:29 +02:00
a454cbb4e1 PosdbTable::mergeTermSubListsForDocId(): postpone local variable decl. until first use 2017-05-23 17:16:25 +02:00
f983c4b0fa More const in PosdbTable 2017-05-23 16:00:03 +02:00
3c4a62af14 When testing for empty lists use RdbList::isEmpty() instad of RdbList::getListSize() 2017-05-23 15:29:45 +02:00
29812033ca Removed commented-out obsoletecode 2017-05-23 15:25:17 +02:00
15dfb7b8dc Align left(right bigram and wikihalfstopbigram code in PosdbTable::PosdbTable::setQueryTermInfo()
copy-pasta had drifted apart due to cleanup
2017-05-23 15:22:05 +02:00
18adbe54fa More trace log in PosdbTable.cpp concerning QueryTermInfo 2017-05-23 13:47:11 +02:00
056b2f9fb5 QueryTerm/QueryTermInfo: mor econst 2017-05-22 16:46:18 +02:00
96221c7882 Posdbtabl/QueryTermInfo: more const 2017-05-22 16:15:48 +02:00
6494ae8a08 Merge remote-tracking branch 'origin/master' into nomerge2 2017-04-30 21:09:52 +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
94bb71587c Merge remote-tracking branch 'origin/master' into nomerge2 2017-04-28 19:21:38 +02:00
1e6451ed0c made page temp min/max weight configurable and overridable 2017-04-28 16:43:14 +02:00
aa990bf6a7 scale page temp logaritmically before scaling it linearly to even out top scorers that have massive page temp 2017-04-28 16:23:19 +02:00
cfdff69424 Merge branch 'master' into nomerge2 2017-04-24 12:07:22 +02:00
1d6a479f3e show page temp and adjusted siterank in result score info 2017-04-23 22:16:28 +02:00
294987e148 fixed bug that caused not all returned docs to have score info created (intersect second loop) due to score info not handling intersectLists10_r being called once per posdb file 2017-04-21 17:25:21 +02:00
a395847f50 Merge remote-tracking branch 'origin/master' into nomerge2 2017-04-21 17:17:26 +02:00
72db061df4 added trace log to TopTree. Make sure TopTree does not exceed number of requested documents 2017-04-21 17:12:42 +02:00
9423dd6c5e Merge branch 'master' into nomerge2 2017-04-11 10:07:26 +02:00
d2c1430da8 Fix for crazy high scoring of documents with only a bigram match and no single term matches. Would use default values of 999999999 for minimum single term and pair scores 2017-04-10 20:55:07 +02:00
50b656f93a Merge branch 'master' into nomerge2 2017-04-10 12:38:13 +02:00
4128fe14ea Use getNumSlots instead of m_numSlots 2017-04-07 15:55:02 +02:00
d895ca7358 Set HashTableX::m_useKeyMagic in constructor instead 2017-04-07 15:55:02 +02:00
de61d1b76a Merge branch 'master' into nomerge2 2017-03-23 17:50:34 +01:00
6349c42c52 Manipulate Posdb entries shardByTermId delete key to doc delete key so we can delete those posdb entries when it's stored on a different shard 2017-03-23 17:32:25 +01:00
eab379f3b5 Merge branch 'master' into nomerge2 2017-02-20 16:09:13 +01:00
63bae5c001 Made QueryTerm::m_qword const 2017-02-20 15:12:17 +01:00
649624d3df Changed scope of 'list' local variable so it isn't use for different thigns all over the place 2017-02-20 14:25:06 +01:00
69d48b7a94 Merge branch 'master' into nomerge2
Conflicts:
	Parms.cpp
2017-01-29 01:21:42 +01:00
37483e550d Made ranking weigths controllable with cgi parameters 2017-01-26 15:24:44 +01:00
538c75b205 Merge branch 'master' into nomerge2
Conflicts:
	Parms.cpp
	main.cpp
2017-01-25 20:29:30 +01:00
363b9200a1 Moved getTermFreqWeight() logic into Msg3a.cpp 2017-01-20 16:40:37 +01:00
d725ded930 Refactor scoring weights into a struct 2017-01-20 16:27:16 +01:00
46f349da07 Removed obsolete and incorrect comment 2017-01-20 15:00:48 +01:00
d455c39a59 Use msg39req.synonym_weight all places in PosdbTable 2017-01-20 14:56:49 +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