摘要:
//创建索引库string indexPath = Server.MapPath("~/temp");//索引库(索引→Index) //开始创建索引; //开始创建索引,目录:" + indexPath; FSDirectory directory = FSDirectory.Open(new DirectoryInfo(indexPath), new NativeFSLockFactory()); //FSDirectory存储文件的索引 bool isUpdate = IndexReader.Inde... 阅读全文