You're missing that the original LIA was written against 1.4, and the current version is 3.x, so lots of stuff has been deprecated.
You can get the second edition from Manning as an e-book, which whould have more current examples. HTH Erick On Mon, Mar 22, 2010 at 11:37 AM, rohit dholakia <rohit.dhola...@gmail.com>wrote: > Hi, > > I am writing my first lucene program and following the 1st > edition of lucene in action book and the blog article by grant on the > lucid imagination blog . Now,if i am using the doc.add(field.text()) > method with arguments,it says,cant resolve .. > If i follow the blog,it is asking for an extra argument(i am using > just three as i am wondering what the second one should be) . What am > i missing in both the cases? > Rohit > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >