完整的输出:
Starting url group: 1, current depth: 0, total known urls: 19, maxDepth: 5, maxDocs: 200, maxDocs per group: 50, pause between docs: 500(ms) DEBUG: Filtered url: 'mailto: eoswald@betanews.com' DEBUG: Filtered url: 'mailto: sfulton@betanews.com' DEBUG: Filtered url: 'mailto:wfaries@bloomberg.net' DEBUG: Filtered url: 'http://www.cse.gob.ni' Finished url group: 1, urls processed in this group: 19, current depth: 0, total urls processed: 19 Starting url group: 2, current depth: 0, total known urls: 19, maxDepth: 5, maxDocs: 200, maxDocs per group: 50, pause between docs: 500(ms) Finished url group: 2, urls processed in this group: 0, current depth: 0, total urls processed: 19 Starting url group: 3, current depth: 1, total known urls: 19, maxDepth: 5, maxDocs: 200, maxDocs per group: 50, pause between docs: 500(ms) Finished url group: 3, urls processed in this group: 0, current depth: 1, total urls processed: 19 Timer (s): [Crawler processed data] --> 0.487 Starting the indexing ... Indexing completed! Search results using Lucene index scores: Query: armstrong Document Title: Lance Armstrong meets goal in painful marathon debut Document URL: file:/c:/iWeb2/data/ch02/sport-01.html --> Relevance Score: 0.397706508636475 _______________________________________________________________________ Document Title: New York 'tour' Lance's toughest Document URL: file:/c:/iWeb2/data/ch02/sport-03.html --> Relevance Score: 0.312822639942169 _______________________________________________________________________ Document Title: New York City Marathon Document URL: file:/c:/iWeb2/data/ch02/sport-02.html --> Relevance Score: 0.226110160350800 _______________________________________________________________________
大神,我照着你的代码运行了下,报错啊(如下)
ERROR:
Failed to load properties from resource: ‘/iweb2.properties’.
null
是不是要把iweb2.properties这个文件放在根目录下,我试了还是不行。给支个招吧
扔到iWeb2src就行了