The xml file temp/enwiki-20070527-pages-articles.xml was downloaded by "ant get-enwiki expand-enwiki". The docs.file in extractWikipedia.alg and wikipedia.alg points to it. The error message is regarding work/enwiki.txt.
Is there a how to on this stuff? What is an alg? On Wed, Jan 21, 2009 at 5:03 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > > You should download Wikipedia's XML file manually yourself, uncompress it, > and then edit docs.file in that alg to point to it. > > Mike > > > Jason Rutherglen wrote: > > I downloaded trunk via SVN. Went to trunk/contrib/benchmark. Executed >> ant >> enwiki. I'm not sure what else needs to be done. Received this error: >> >> enwiki: >> [echo] Working Directory: >> /Users/jrutherg/dev/lucenetrunk/trunk/contrib/benchmark/work >> [java] Running algorithm from: >> >> /Users/jrutherg/dev/lucenetrunk/trunk/contrib/benchmark/conf/extractWikipedia.alg >> [java] ------------> config properties: >> [java] doc.maker = >> org.apache.lucene.benchmark.byTask.feeds.EnwikiDocMaker >> [java] doc.maker.forever = false >> [java] docs.file = temp/enwiki-20070527-pages-articles.xml >> [java] line.file.out = work/enwiki.txt >> [java] work.dir = work >> [java] ------------------------------- >> [java] ------------> algorithm: >> [java] Seq_Exhaust { >> [java] WriteLineDoc >> [java] > * EXHAUST >> [java] >> [java] Error: cannot execute the algorithm! work/enwiki.txt (No such >> file or directory) >> [java] #################### >> [java] java.io.FileNotFoundException: work/enwiki.txt (No such file or >> directory) >> [java] ### D O N E !!! ### >> [java] at java.io.FileOutputStream.open(Native Method) >> [java] #################### >> [java] at >> java.io.FileOutputStream.<init>(FileOutputStream.java:179) >> [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:70) >> [java] at >> >> org.apache.lucene.benchmark.byTask.tasks.WriteLineDocTask.setup(WriteLineDocTask.java:63) >> [java] at >> >> org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:83) >> [java] at >> >> org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:141) >> [java] at >> >> org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:122) >> [java] at >> >> org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:92) >> [java] at >> >> org.apache.lucene.benchmark.byTask.utils.Algorithm.execute(Algorithm.java:246) >> [java] at >> org.apache.lucene.benchmark.byTask.Benchmark.execute(Benchmark.java:73) >> [java] at >> org.apache.lucene.benchmark.byTask.Benchmark.main(Benchmark.java:109) >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >