-
大小: 2.26MB文件類型: .rar金幣: 2下載: 1 次發布日期: 2023-10-13
- 語言: C#
- 標簽: Lucene.Net??c#??搜索引擎??
資源簡介
Lucene是一個信息檢索的函數庫(Library),利用它你可以為你的應用加上索引和搜索的功能.
Lucene的使用者不需要深入了解有關全文檢索的知識,僅僅學會使用庫中的一個類,你就為你的應用實現全文檢索的功能.
不過千萬別以為Lucene是一個象google那樣的搜索引擎,Lucene甚至不是一個應用程序,它僅僅是一個工具,一個Library.你也可以把它理解為一個將索引,搜索功能封裝的很好的一套簡單易用的API.利用這套API你可以做很多有關搜索的事情,而且很方便.
What Can Lucene Do
Lucene可以對任何的數據做索引和搜索. Lucene不管數據源是什么格式,只要它能被轉化為文字的形式,就可以被Lucene所分析利用.也就是說不管是MS word, Html ,pdf還是其他什么形式的文件只要你可以從中抽取出文字形式的內容就可以被Lucene所用.你就可以用Lucene對它們進行索引以及搜索.

代碼片段和文件信息
/*
?*?Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one?or?more
?*?contributor?license?agreements.??See?the?NOTICE?file?distributed?with
?*?this?work?for?additional?information?regarding?copyright?ownership.
?*?The?ASF?licenses?this?file?to?You?under?the?Apache?License?Version?2.0
?*?(the?“License“);?you?may?not?use?this?file?except?in?compliance?with
?*?the?License.??You?may?obtain?a?copy?of?the?License?at
?*?
?*?http://www.apache.org/licenses/LICENSE-2.0
?*?
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
using?System.Reflection;
using?System.Runtime.CompilerServices;
//
//?General?Information?about?an?assembly?is?controlled?through?the?following?
//?set?of?attributes.?Change?these?attribute?values?to?modify?the?information
//?associated?with?an?assembly.
//
[assembly:?Assemblytitle(“Apache?Lucene.Net“)]
[assembly:?AssemblyDescription(“The?Apache?Software?Foundation?Lucene.Net?a?full-text?search?engine?library“)]
[assembly:?AssemblyConfiguration(““)]
[assembly:?AssemblyCompany(“The?Apache?Software?Foundation“)]
[assembly:?AssemblyProduct(“Lucene.Net“)]
[assembly:?AssemblyCopyright(“Copyright?2006?-?2009?The?Apache?Software?Foundation“)]
[assembly:?AssemblyTrademark(“Copyright?2006?-?2009?The?Apache?Software?Foundation“)]
[assembly:?AssemblyDefaultAlias(“Lucene.Net“)]
[assembly:?AssemblyCulture(““)]
[assembly:?AssemblyInformationalVersionAttribute(“2.9.1“)]
//
//?Version?information?for?an?assembly?consists?of?the?following?four?values:
//
//??????Major?Version
//??????Minor?Version?
//??????Build?Number
//??????Revision
//
//?You?can?specify?all?the?values?or?you?can?default?the?Revision?and?Build?Numbers?
//?by?using?the?‘*‘?as?shown?below:
[assembly:?AssemblyVersion(“2.9.1.002“)]
//
//?In?order?to?sign?your?assembly?you?must?specify?a?key?to?use.?Refer?to?the?
//?Microsoft?.NET?framework?documentation?for?more?information?on?assembly?signing.
//
//?Use?the?attributes?below?to?control?which?key?is?used?for?signing.?
//
//?Notes:?
//???(*)?If?no?key?is?specified?the?assembly?is?not?signed.
//???(*)?KeyName?refers?to?a?key?that?has?been?installed?in?the?Crypto?Service
//???????Provider?(CSP)?on?your?machine.?KeyFile?refers?to?a?file?which?contains
//???????a?key.
//???(*)?If?the?KeyFile?and?the?KeyName?values?are?both?specified?the?
//???????following?processing?occurs:
//???????(1)?If?the?KeyName?can?be?found?in?the?CSP?that?key?is?used.
//???????(2)?If?the?KeyName?does?not?exist?and?the?KeyFile?does?exist?the?key?
//???????????in?the?KeyFile?is?installed?into?the?CSP?and?used.
//???(*)?In?order?to?create?a?KeyFile?you?can?use?the?sn.exe?(Strong?Name)?utility.
//???????When?specifyi
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1766??2010-01-26?08:12??Lucene.Net\.svn\all-wcprops
?????文件???????2124??2010-01-27?08:33??Lucene.Net\.svn\entries
?????文件??????????2??2010-01-26?08:12??Lucene.Net\.svn\format
?????文件???????3596??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件??????36306??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件???????1936??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件????????145??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件????????145??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件????????908??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件?????791079??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件???????1265??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件??????17583??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件????????838??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件??????80470??2010-01-26?08:12??Lucene.Net\.svn\text-ba
?????文件???????6056??2010-01-26?08:12??Lucene.Net\Analysis\.svn\all-wcprops
?????文件???????6267??2010-01-27?08:33??Lucene.Net\Analysis\.svn\entries
?????文件??????????2??2010-01-26?08:12??Lucene.Net\Analysis\.svn\format
?????文件???????6324??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件?????129346??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????3214??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????3368??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????1704??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件??????12550??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????2553??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????2556??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????1848??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????5314??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????9506??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????1947??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
?????文件???????3860??2010-01-26?08:12??Lucene.Net\Analysis\.svn\text-ba
............此處省略1038個文件信息
評論
共有 條評論