lucene
王小工
java研发工程师、架构师、云计算、大数据、云原生、AI应用
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
lucene 应用
lucene 应用lucenedto 类 用于区分 增加索引:储存文件 File indexFile = new File(indexDirPath + "/" + entity.getUrlType()); indexFile.mkdirs(); if (!indexFile.exists()) { try { indexFile.cr...2011-11-07 13:13:23 · 110 阅读 · 0 评论 -
lucene 分页
/** * 获取指定范围内的文档(该方法只打印文档内容,代表取得相应的文档)。 * @param start 注意:从0开始计数 * @param howMany*/public void getResults(int start , int howMany) {try { QueryParser parser = new QueryPars...原创 2011-11-07 13:16:16 · 113 阅读 · 0 评论
分享