【正文】
int docNum = ()。 ((mata,row[mata].ToString()))。在程序中注冊后,在 html 里就可以使用 Javascript 來調(diào)用后臺(tái)的程序。 Document doc = (i)。 (/tr)。比較搜索引擎的實(shí)現(xiàn)方法,選擇適用于 .Net 平臺(tái)的語言和相關(guān)技術(shù)。比如爬蟲抓取十幾億網(wǎng)頁前后的程序處理。 [3] 吳財(cái)軍 .C#經(jīng)典范例 50講 [M].北京 :北京希望電子出版社 ,2020。除非另有說明,本文的工作是原始性工作。 the fly sat upon the axletree of the chariot wheel, and said. What a dust do I raise? So are there some vain persons, that whatsoever goeths indeed! They could tell us something worth hearing, if they only knew how to talk. It39。 for all bravery stands upon parisons. They must needs be violent, to make good their own vaunts. Neithe r can they be secret, and therefore not effectual。 and virtue was never so beholding to human nature, as it received his due at the second hand. Neither had the fame of Cicero, Seneca, Plinius Secundus, borne her age so well, if it had not been joined with some vanity in themselves: like unto varnish, that makes sealings not only shine, but last But all this while, when I speak of vainglory, I mean not of that property, that Tacitus doth attribute to Mucianus。 the idols of parasites。 and the f ifth kind is when the violation ofthe civil rights of an individual demands reparation. There shouldbe a mon law embracing all these cases. For we have already said ingeneral terms what shall be the punishment of sacrilege, whetherfraudulent or violent, and now we have to determine what is to bethe punishment of those w ho speak or act insolently toward the G first we must give them an admonition which may be in thefollowing terms:No one who in obedience to the laws believed thatthere were Gods, ever intentionally did any unholy act, or uttered anyunlawful word。 for some of us deny the very existence of theGods, w hile others, as you say, are of opinion that they do not careabout us。s goods, neither shall heuse anything which is his neighbour39。 which is to be liberal of praise and mendation to others, in that wherein a man\39。 beaucoup de bruit, peu de fruit: much bruit, little fruit Yet certainly there is use of this quality, in civil affairs. Where there is an opinion, and fame to be created, either of virtue, or greatness, these men are good trumpeters. Again, as Titus Livius noteth, in the case of Antiochus, and the Aetolians。s eve I was reading the book, and had lost myself in it so pletely, that I fot my usual New Year39。 ( 2)學(xué)校可以采用影印、縮印或其他復(fù)制方式保存學(xué)位論文。 第 17 頁 共 19 頁 [5] 方睿 ,刁仁宏 ,吳四九 .網(wǎng)絡(luò)數(shù)據(jù)庫原理及應(yīng)用 [M].成都 :四川大學(xué)出版社 ,2020。在現(xiàn)有水平和條件的限制下,本系統(tǒng)距離商業(yè)應(yīng)用的研究水平還差較多。 Ajax 技術(shù)解決了數(shù)據(jù)與服務(wù)器的異步交互問題,在前臺(tái)不再出現(xiàn)整個(gè)頁面的重新加載。運(yùn)行 spider 爬蟲,抓取網(wǎng)頁。 content=(keywords,font color=red+keywords+/font)。 } 如果前臺(tái) Javascript 需要調(diào)用某個(gè)方法,那就在那個(gè)函數(shù)前加上[],表示此方法屬于 ajax 應(yīng)用。 ((Url,row[Url].ToString()))。 ()。 (false)。 if(url == || url == null || url == ) continue。 (對 url:+URL+相關(guān)信息寫入數(shù)據(jù)庫成功 !)。+URL+39。 Content = parseScript(PageString)。 try {//讀取一個(gè) URL的信息到流變量里 Stream strm=(url)。具體代碼如下: private static void UrlThread() { String title=。索引生成后在查詢部分就能夠在網(wǎng)頁上輸入關(guān)鍵字,對剛才抓取的信息的查詢。 所有的搜索引擎的目標(biāo)都是為了用戶查詢。 用同樣的方法繼續(xù)抓取網(wǎng)頁 , 這里將運(yùn)用到多線程技術(shù) 。 從一個(gè)或 若干初始網(wǎng)頁的 URL 開始,獲得初始網(wǎng)頁上的 URL,在抓取網(wǎng)頁的過程中,不斷從當(dāng)前頁面上 抽取新的 URL 放入隊(duì)列 ,直到滿足系統(tǒng)的一定停止條件。 索引生成包括:基于文本文件的索引、基于數(shù)據(jù)庫的索引。 輸入輸出要求 輸入:搜索的關(guān)鍵字。 7. 實(shí)現(xiàn)中英文分詞功能 , 能夠按中文或者英文單詞檢索數(shù)據(jù)。 由此可 見, Ajax 使得 Web 應(yīng)用更加動(dòng)態(tài),帶來了更高的智能,并且提供 了表現(xiàn)能力豐富的 Ajax UI 組件。 傳統(tǒng)的 web 應(yīng)用模型如 圖 2: 第 5 頁 共 19 頁 圖 2 Web應(yīng)用模型 與傳 統(tǒng)的 Web 開發(fā)不同 , Ajax 并不是以一種基于靜態(tài)頁面的方式來看待Web 應(yīng)用的。包括: HTML 和 CSS, 使用文檔對象模型 DOM 作動(dòng)態(tài)顯示和交互 , 使用 XML 做數(shù)據(jù)交互和操作 , 使用XMLHttpRequest 進(jìn)行異步數(shù)據(jù)接收 , 使用 JavaScript 將它們綁定在一起 。 Lucene 采用的是一種稱為反向索引( inverted index)的機(jī)制。 Lucene 與搜索引擎 Lucene 是一個(gè)全文信息檢索工具包,為應(yīng)用程序提供索引和搜索功能。網(wǎng)絡(luò)機(jī)器人或網(wǎng)絡(luò)蜘蛛采集的網(wǎng)頁,還要有其它程序進(jìn)行分析,根據(jù)一定的相關(guān)度算法進(jìn)行大量的計(jì)算建立網(wǎng)頁索引,才能添加到索引數(shù)據(jù)庫中。 按照工作原理的不同,可以把它們分為兩個(gè)基本類別:全文搜索和分類目錄。通過 ,可以很方便的構(gòu)建起搜索引擎,本畢業(yè)設(shè)計(jì)除了考查使學(xué)生綜合運(yùn)用以前所學(xué)知識(shí)的能力,同時(shí)也使學(xué)生了解當(dāng)今 搜索 及編程的一些新技術(shù),并模擬 簡單的 搜索 引擎開發(fā)。 國內(nèi)比較著名的比如 百度 ,更專注對中文的處理。 國內(nèi)外研究現(xiàn)狀 國 內(nèi) 外 對搜索引擎研究比較著名的 便 是 Google 了。s lives. Lucene is the way of constructing search engine. This system is based on the .Net platform using C. The database is MSSQL Server 2020. Main functions are grasping web pages with crawls, adding effective information to the database, establishing index with Lucene, searching through keywords, and displaying the results finally. This paper has showed the principle of search engine in the form of different modules, functions of this system, improving traditional web application model using Ajax. It shows explanation of the system’s background, development environment, system analysis of demanding, and functions of design. Key words: 。 搜索引擎 系統(tǒng) 是在 .Net 平臺(tái)上用C開發(fā)的 ,數(shù)據(jù)庫是 MSSQL Server 2020。 Search engines 目 錄 論文總頁數(shù): 19 頁 1 引言 ............................................................................................................................. 1 課題背景 ............................................................................................................ 1 國內(nèi)外研究現(xiàn)狀 ................................................................................................. 1 本課題研究的意義 .............................................................................................. 1 本課題的研究方法 .............................................................................................. 1 2 構(gòu)建搜索引擎原理 ......................................................................................... 2 全文搜索引擎 ..................................................................................................... 2 搜索引擎的分類 ........................................................................................ 2 搜索引擎的工作原理 ................................................................................. 2 LUCENE 與搜索引擎 ............................................................................................ 3 索引和搜索 ........................................................................................................ 4 AJAX技術(shù) ....................................