摘要: //创建索引库string indexPath = Server.MapPath("~/temp");//索引库(索引→Index) //开始创建索引; //开始创建索引,目录:" + indexPath; FSDirectory directory = FSDirectory.Open(new DirectoryInfo(indexPath), new NativeFSLockFactory()); //FSDirectory存储文件的索引 bool isUpdate = IndexReader.Inde... 阅读全文
posted @ 2012-04-22 07:17 rains 阅读(745) 评论(0) 推荐(2) 编辑