Re: Lucene in Action examples complie problem

2006-10-10 Thread Doron Cohen
I wonder if this should be in the FAQ entry "How do i get code written for Lucene 1.4.x to work with Lucene 2.x", Or perhaps just adding there a link to your post here - http://www.nabble.com/Lucene-in-Action-examples-complie-problem-tf2418478.html#a6743189 Erik Hatcher <[EMAIL PROT

Re: Lucene in Action examples complie problem

2006-10-10 Thread Erik Hatcher
I have long been meaning to publish an updated codebase for Lucene in Action compatible with Lucene 2.0. I adjusted the code a while ago, but I haven't published it yet (and I think the plan is to wait until LIA2 is finished to do so). I did make notes when I made these changes, and I'm p

Re: Lucene in Action examples complie problem

2006-10-10 Thread Doron Cohen
Field.Text() was deprecated in Lucene 1.9 and then removed in 2.0. The book examples were not updated for 2.0 yet. You should now use Field(String, String, Field.Store, Field.Index). To have the same behavior as old Field.Text use: Field(name, value, Field.Store.YES, Field.Index.TOKENIZED). For

Lucene in Action examples complie problem

2006-10-10 Thread Serhiy Polyakov
Hi, I started to study Lucene following the book Lucene in Action. I am trying to compile book examples downloaded from the book site: http://www.manning.com/hatcher2/ When I am trying to compile first example (Indexer.java) it gives me the following error: LuceneInAction\src\lia\meetlucene\In