开发者社区> 问答> 正文

searching中目录函数是什么呢?

已解决

searching中目录函数是什么呢?

展开
收起
游客r3yctwty2duzw 2022-10-23 13:18:40 1461 0
1 条回答
写回答
取消 提交回答
  • 推荐回答

    目录函数代码如下

    File dataDir = new File(args[1]):
    Create Lucene index in this directory
    Index files in this directory
    long start = new DateO.getTimeO:
    int numindexed = index(indexDir, dataDir);
    long end = new DateO.getTimeO:
    System.out.printin(*Indexing" + numindexed + " files took* + (end - start) + " milliseconds"):
    
    2022-10-23 22:09:02
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Borgaonkar-New-Adventures-In-Spying-3G-And-4G-Users-Locate-Track-And-Monitor 立即下载
The Key to Machine Learning ls 立即下载
Custom applications with Spark’s RDD 立即下载