
search
iteye_6075
这个作者很懒,什么都没留下…
展开
-
Solr应用开发笔记
从svn 构建 solr[url]http://lucene.apache.org/solr/version_control.html[/url]svn co http://svn.apache.org/repos/asf/lucene/solr/cd trunkant ant exampleant run-example[url=http:...2009-03-16 18:00:52 · 99 阅读 · 0 评论 -
中文分词
[b]imdict-chinese-analyzer[/b][url]http://code.google.com/p/imdict-chinese-analyzer/[/url]SmartChineseAnalyzer 是一个智能中文分词模块, 与 ChineseAnalyzer (切分每个汉字)和 CJKAnalyzer (组合每两个汉字)不同, 它能够利用概率对汉语句子进行最优切...原创 2009-06-25 17:33:09 · 145 阅读 · 0 评论 -
如何利用 lucene score机制来实现 关键字 竞价排名
[flash=336,280]http://img.alimama.cn/bm/wrappler_swf/2009-11-26/2042702_0af5658d088e285c4ac474cd20865090_336x280.swf?v=1259240549[/flash]lucene内置的排序方式是按照一定算法的score来排列,document的boost能影响文档的权重,但与关键字并无法实现...2009-05-08 09:46:00 · 179 阅读 · 0 评论 -
IndexSearcher
[code="java"]IndexSearcher indexSearcher......Term t=new Term("field","value");Query q=new TermQuery(t);Hits hits=indexSearcher.search(q);hits.length;hits.doc(i);[/code]原创 2009-05-06 00:10:52 · 107 阅读 · 0 评论 -
IndexWriter合并索引
[flash=336,280]http://img.alimama.cn/bm/wrappler_swf/2009-11-26/2042702_0af5658d088e285c4ac474cd20865090_336x280.swf?v=1259240549[/flash]IndexWriter 提供一个接口帮助开发者合并不同的索引。这并不是合并具体的目录,而是合并不同的Directory...原创 2009-05-05 17:46:45 · 348 阅读 · 0 评论 -
lucene几个类的含义3
[quote].fdx .fdt[/quote].fdt=>存储具有Store.YES属性的Field.fdx=>存储Document在.fdt中的位置。[quote].tii .tis[/quote].tis=>存储分词后的词条(term).tii=>tis的索引文件,标记每个.tis文件中词条的位置。[quote]deletable 格式[/quote]...原创 2009-05-05 16:24:16 · 122 阅读 · 0 评论 -
lucene几个类的含义2
索引文件里的文件命名有什么规律[quote]_9.cfs_9.cfxsegments_ksegments.gen[/quote][code="java"]private final synchronized String newSegmentName(){ return "_"+Integer.toString(segmentInfos.counter++...原创 2009-05-05 15:32:00 · 140 阅读 · 0 评论 -
lucene几个类的含义
[code="java"] IndexSearcher searcher = new IndexSearcher(path); //搜索字段。值 Term t=new Term(searchType,searchKey); //term产生query Query q=new TermQuery(t); //枚举对象TermDocs TermDocs t...2009-05-05 11:25:28 · 109 阅读 · 0 评论 -
solr1.3已经支持分布式搜索
[b]What is Distributed Search?When an index becomes too large to fit on a single system, or when a single query takes too long to execute, an index can be split into multiple shards, and Solr can ...原创 2009-04-17 11:47:02 · 214 阅读 · 0 评论 -
solr 分词 后 结果
http://lucene.apache.org/solr/tutorial.htmlAnalysis Debugging 写道There is a handy analysis debugging page where you can see how a text value is broken down into words, and shows the resulti...原创 2009-04-17 11:17:58 · 213 阅读 · 0 评论 -
solr 查询 排序
[url]http://lucene.apache.org/solr/tutorial.html[/url]Querying Data查询没什么可说的。大致看看就明白。q是查询关键字。fl是返回哪些结果集的字段。结果集是一个xml文档。[quote] Searches are done via HTTP GET on the select URL with the qu...原创 2009-04-17 11:07:12 · 418 阅读 · 0 评论 -
solr 创建,删除,更新索引
[flash=336,280]http://img.alimama.cn/bm/wrappler_swf/2009-11-26/2042702_0af5658d088e285c4ac474cd20865090_336x280.swf?v=1259240549[/flash][url]http://lucene.apache.org/solr/tutorial.html[/url][quot...原创 2009-04-17 11:02:06 · 630 阅读 · 0 评论 -
solr 几个有用的过滤器
[url]http://lucene.apache.org/solr/tutorial.html[/url]Text AnalysisExample queries demonstrating relevancy improving transformations: * A search for [b]power-shot[/b] matches [b]PowerSh...原创 2009-04-17 10:31:58 · 240 阅读 · 0 评论 -
Solr scalability improvements
http://yonik.wordpress.com/With CPU cores constantly increasing, there has been some major work done in Lucene/Solr to increase the scalability under multi-threaded load.Read-only IndexReaders...原创 2009-04-13 10:28:14 · 111 阅读 · 0 评论 -
手机之家网站搜索系统Lucene应用
手机之家搜索系统架构[url]http://www.luanxiang.org/blog/archives/605.html[/url][flash=336,280]http://img.alimama.cn/bm/wrappler_swf/2009-11-26/2039191_9c6c3800d21c04f7c6b4e10307704e1c_336x280.swf?v=125...原创 2009-07-30 10:36:51 · 112 阅读 · 0 评论