Hi,
This error I got while trying to read the numDocs() method of IndexReader
class.
try{
String path=new
String("E:\\eclipse\\310307\\objtest\\crawl-result\\index");
IndexSearcher searcher=new IndexSearcher(path);
ir=searcher.getIndexReader();
}
catch(Exception e){}
if (LOG.isInfoEnabled()) {
String surl1=url.toString();
int i=ir.numDocs();
LOG.info("Document has no OBJECT
links." +i ) ;
System.out.println("No
outputtttttttttttttttttttttttt" +i);
}
return doc;
Can anybody tell me where did I go wrong??/
Ratnesh, V2Solutions, India
--
View this message in context:
http://www.nabble.com/WARN--mapred.LocalJobRunner---job_fajjx6-tf3525385.html#a9835502
Sent from the Nutch - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general