Hi Lewis, I am new to java and i dont know how to inherit all public methods from NutchIndexWriter Can you help me with that? Then i can rebuild and check if it works.
lewis john mcgibbney wrote > As you will see the code has not been amended in a year or so. > The positive side is that you only seem to be getting one issue with javac > > On Tue, Jan 29, 2013 at 8:39 PM, peterbarretto < > peterbarretto08@ > >wrote: > >> >> >> C:\nutch-16\src\java\org\apache\nutch\indexer\mongodb\MongodbWriter.java:18: >> error: MongodbWriter is not abstract and does not override abstract >> method >> delete(String) in NutchIndexWriter >> [javac] public class MongodbWriter implements NutchIndexWriter{ >> >> Sort this error out by inheriting all public methods from >> NutchIndexWriter > for starts. I take it you are not developing from within Eclipse? As this > would have been flagged up immediately. This should at least enable you to > compile the code. > > >> >> I have already crawled some urls now and i need to move those to mongodb. >> Is >> there a easy to use code to do that? > > > Not apart from hacking the code as you are already doing. The code you are > pulling is not part of the official nutch codebase and to be honest a few > of us didn't even know about it until you brought it to our attention :0) > > There is no silver bullet here, just take your time and we will get it > working. > Lewis -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-page-content-of-crawled-pages-tp1944330p4037621.html Sent from the Nutch - User mailing list archive at Nabble.com.