The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

jsuman (2) [Avatar] Offline
#1
Hi
I am new in Lucene, started exploring Lucene.
I find in the chapter 4, lia.analysis.nutch.NutchExample example is not getting compile as it is trying to use old API. Please suggest the correction for the same
mike.mccandless (221) [Avatar] Offline
#2
Re: Chapter 4: NutchExample compilation error for new API
Nutch still uses Lucene 2.4.

But, if you run "ant NutchExample", the build.xml file will take care of making sure the old Lucene jar is on the classpath.

How are you trying to compile it?

Note also that you need Java 1.6.
jsuman (2) [Avatar] Offline
#3
Re: Chapter 4: NutchExample compilation error for new API
Thanks a lot, It works.
I was trying to compile in eclipse.
I am using jdk1.6..