下了最新的lucene,看的教程是3.0的,索引的创建等等内容都变动很多,很多都不知道怎么写,看doc也没有找到,一个是file to document的函数怎么写,还有IndexWriter的第二个参数IndexWriterConfig怎么写,谢谢了
解决方案 »
- 通过JDBC怎么连接启用SSL的sybase数据库?
- 高手请进
- 报错classnotfound,但是我的类存在啊
- My eclipse 7.0下 spring配置文件的标签问题
- JDBC问题
- weblogic中session问题,痛哭中,真当是郁闷
- 大虾们,救救我吧,一个简单的问题。
- TOMCAT中运行不了JAVABEAN
- 大家知道jbuilder6.0的注册吗吗?告诉我,谢谢了
- 調用findByPrimaryKey()時的事物問題﹐高手救命
- 小女开始带项目了,需要代码质量管控的软件
- HttpUrlConnection - locked <0x2871d648> (a java.io.BufferedInputStream)
IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_43,new StandardAnalyzer(Version.LUCENE_43));
//创建Lucene indexWriter
IndexWriter writer = new IndexWriter(dir, conf);//与lucene之前的版本有区别