![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
大数据
qq_21409763
这个作者很懒,什么都没留下…
展开
-
luence基础学习——no segments* file found in org.apache.lu异常处理
建立索引: public void testCreateIndex() throws Exception{ Directory directory=FSDirectory.open(new File("D:/index")); //lucene当前使用的版本 Version version=Version.LUCENE_44; //抽象类。。。分词器,,,,对一段文本进行分词原创 2015-03-25 11:19:31 · 863 阅读 · 0 评论 -
数据库检索和全文检索的比较(性能,匹配度准确度,相关度排序)
数据库检索: 1(性能):使用like搜索,会对表中的数据进行全表扫描 2(匹配度准确度):select * from table where 字段 like '%关键词%'; 3(相关度排序): 全文检索: 1(性能): 2(匹配度准确度): 3(相关度排序):原创 2015-03-25 11:36:29 · 1460 阅读 · 0 评论