[編程實例] Lucene Demo 小實例

首先是文件索引: 先用爬蟲爬幾個頁面放在特定目錄下,我挑取了 google,baidu,yahoo 的代碼來作例子:) Writer.java public   class  Writer  ... {     public static void main(String[] args) throws Exception     ...{         //fileDir is the dire
相關文章
相關標籤/搜索