IR-chapter7: computing scores in a complete search system

efficient scoring and ranking

FastCosineScore
  • constructing a heap to pick out top K components
  • Inexact top K document retrieval
  • index elimination
    considering documents containing terms whose idf exceeds a preset threshold
    considering documents containing many(even all) terms
  • champion list
    precompute r documents with the highest weights for each term.
    r does not to be the same for every term.(rarer term, larger)
  • static quality scoring and ordering
    net-score
    global champion list, expansion two lists sorted by g(d) value
  • impact ordering
    sorted by common ordering: document-at-a-time scoring
    sorted by uncommon ordering: term-at-a-time scoring
    ordered by a decreasing tf value,advantage:
    1.stop after considering a prefix of posting list
    2.consedering query terms in decreasing order of idf.
  • cluster pruning
    pick ,compute nearest, cluster, computing cosine similarity from q to each leader, then the closest L and its follower
    variation - b1,b2

components of an information retrieval system

  • tiered indexes
    motivation: A has fewer than K documents
    solution: we set a tf threshold of 20 for tier 1 and 10 for tier 2, meaning that the tier 1 index only has postings entries with tf values exceeding 20, and the tier 2 index only has postings entries with tf values exceeding 10.
tiered indexes
  • designing parsing and scoring function
    query parser - translate the user-specified keywords into a query with various operators
    scoring function - manual configuration or machine-learned scoring

  • putting it all together

a complete search system

results snippets: snippets of text accompanying each document in the results list for a query.

Vector space scoring and query operator interaction

Google: the semantics of a conjunctive query that only retrieves documents containing all or most query terms.

  • Boolean retrieval
  • wildcard queries
  • phase queries
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市票摇,隨后出現(xiàn)的幾起案子拘鞋,更是在濱河造成了極大的恐慌,老刑警劉巖矢门,帶你破解...
    沈念sama閱讀 218,036評論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件盆色,死亡現(xiàn)場離奇詭異,居然都是意外死亡祟剔,警方通過查閱死者的電腦和手機(jī)隔躲,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,046評論 3 395
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來物延,“玉大人宣旱,你說我怎么就攤上這事∨咽恚” “怎么了响鹃?”我有些...
    開封第一講書人閱讀 164,411評論 0 354
  • 文/不壞的土叔 我叫張陵驾霜,是天一觀的道長。 經(jīng)常有香客問我买置,道長粪糙,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,622評論 1 293
  • 正文 為了忘掉前任忿项,我火速辦了婚禮蓉冈,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘轩触。我一直安慰自己寞酿,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,661評論 6 392
  • 文/花漫 我一把揭開白布脱柱。 她就那樣靜靜地躺著伐弹,像睡著了一般。 火紅的嫁衣襯著肌膚如雪榨为。 梳的紋絲不亂的頭發(fā)上惨好,一...
    開封第一講書人閱讀 51,521評論 1 304
  • 那天,我揣著相機(jī)與錄音随闺,去河邊找鬼日川。 笑死,一個(gè)胖子當(dāng)著我的面吹牛矩乐,可吹牛的內(nèi)容都是我干的龄句。 我是一名探鬼主播,決...
    沈念sama閱讀 40,288評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼散罕,長吁一口氣:“原來是場噩夢啊……” “哼分歇!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起欧漱,我...
    開封第一講書人閱讀 39,200評論 0 276
  • 序言:老撾萬榮一對情侶失蹤卿樱,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后硫椰,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體繁调,經(jīng)...
    沈念sama閱讀 45,644評論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,837評論 3 336
  • 正文 我和宋清朗相戀三年靶草,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了蹄胰。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,953評論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡奕翔,死狀恐怖裕寨,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤宾袜,帶...
    沈念sama閱讀 35,673評論 5 346
  • 正文 年R本政府宣布捻艳,位于F島的核電站,受9級特大地震影響庆猫,放射性物質(zhì)發(fā)生泄漏认轨。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,281評論 3 329
  • 文/蒙蒙 一月培、第九天 我趴在偏房一處隱蔽的房頂上張望嘁字。 院中可真熱鬧,春花似錦杉畜、人聲如沸纪蜒。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,889評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽纯续。三九已至,卻和暖如春灭袁,著一層夾襖步出監(jiān)牢的瞬間猬错,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,011評論 1 269
  • 我被黑心中介騙來泰國打工简卧, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人烤芦。 一個(gè)月前我還...
    沈念sama閱讀 48,119評論 3 370
  • 正文 我出身青樓举娩,卻偏偏與公主長得像,于是被迫代替她去往敵國和親构罗。 傳聞我的和親對象是個(gè)殘疾皇子铜涉,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,901評論 2 355

推薦閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,497評論 0 23
  • 曠野上枯死的草芥 火依舊在蔓延 再無一絲生機(jī) 一點(diǎn)都沒有 唯有最后一點(diǎn)從眼角滲出的水分 浸潤著 這枯榮 然而 那不...
    予辰同學(xué)閱讀 493評論 0 4
  • 蓋茨推薦的書 : 蒂芬·平克《人性中的善良天使》 集裝箱改變世界 亞洲大趨勢 21世紀(jì)資本論 自然的魔法 那些古怪...
    savvyisme閱讀 118評論 0 0