信息检索
文章平均质量分 78
iteye_20353
这个作者很懒,什么都没留下…
展开
-
lucene2.9学习第一天
1.package test;import org.apache.lucene.analysis.Analyzer;import org.apache.lucene.analysis.standard.StandardAnalyzer;import org.apache.lucene.document.Document;import org.apache.lucene.in...原创 2011-10-18 19:11:47 · 121 阅读 · 0 评论 -
分词器
http://lihaiyan.iteye.com/blog/127674 分词器原创 2011-10-19 18:16:53 · 70 阅读 · 0 评论 -
apache solr4.72 使用
solr 自带中间件运行测试:1、解压solr-4.7.2.zip,2、启动:在cmd中运行 java -jar start.jar,这样jetty就监听在8983端口,3、浏览:在浏览器中输入: http://127.0.0.1:8080/solr/ 下一步:1、复制工程: solr-4.7.2\example\solr(包含solr目录) ...原创 2014-06-21 13:24:42 · 144 阅读 · 0 评论 -
lucene4.7 (1)全文检索之根据数据库内容创建索引
package org.apache.lucene.demo;/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work f...原创 2014-06-21 15:41:22 · 131 阅读 · 0 评论 -
lucene4.7(3) 全文检索之 相关类
public class DBIndex{public static final config _$=new config(); public static class config{ public static final Analyzer analyzer=new StandardAnalyzer(Version.LUCENE_47);//分词器 public S...原创 2014-06-21 16:10:09 · 81 阅读 · 0 评论