Showing related tags and posts accross the entire site.
Sorry, but there are no more tags available to filter with.
-
测试CS2008的BLOGAPI功能:) 近阵子玩Lucene.Net,删除索引的KEY要唯一,而且要Tokened. 以下是当时删除出现问题时找到的一篇文章: Lucene.Net 在删除索引时,经常会出现代码成功执行,但索引并未正直删除的现象,总结一下,要注意以下因素: 1.在创建Term时,注意Term的key一定要是以"词"为单位,否则删除不成功,例如:添加索引时,如果把"d:\doc\id.txt"当 作要索引的字符串索引过了,那么在删除时,如果直接把"d:\doc\id.txt"作为查询的key来创建Term是无效的,应该用Id...