摘要:        
今天在Opensuse下配置vim 遇到两个问题配置插件找到一个很好的博客。学到一些有用技巧http://hahaya.github.io/2013/07/26/use-vundle.html但是遇到两个问题 一个是YouCompleteMe unavailable: requires Vim compiled with Python 2.x support解决办法http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support就是安装zypper ar http://download.opensuse.o    阅读全文
        
            posted @ 2013-12-28 18:51
c3tc3tc3t
阅读(4049)
评论(0)
推荐(0)
        
            
        
        
摘要:        
IndexReader。使用过程中有时会出现document被删除,reader还是原来的reader没有改变,所以使用openifchanged保证,又因为IndexReader 初始化很耗费资源所以放在静态代码块里private static Directory directory = null; private static IndexReader reader = null; static { try { directory = FSDirectory.open(new File("E:/lucene/index02")); reader = IndexReader    阅读全文
        
            posted @ 2013-12-28 13:07
c3tc3tc3t
阅读(351)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号