Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Ian Lea
A follow up message to the one you mention suggests that something be added to the Lucene FAQ and it was, with a link to the 1.9 apidocs which shows the deprecated methods and alternatives. http://lucene.apache.org/java/1_9_1/api/ -- Ian. On Tue, Dec 16, 2008 at 7:09 PM, Oleg Oltar wrote: > I

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Oleg Oltar
I am trying to fix my code now. I am using the http://markmail.org/message/4jupw4wnjn3gv7wh Replace all Field.Keyword/UnStored/Text/UnIndexed with the enumerated types, e.g.: - doc.add(Field.Keyword("animal", animal)); + doc.add(new Field("animal", animal, Field.Store.YES, Field.Index.UN_TOKENIZE

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Erik Hatcher
On Dec 16, 2008, at 6:57 AM, Oleg Oltar wrote: Also maybe there are some free manuals/articles that you can recommend for starters? There's a bunch of stuff listed here: Lucene has been changing so rapidly lately that I'm not aware of any

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Oleg Oltar
Also maybe there are some free manuals/articles that you can recommend for starters? On Tue, Dec 16, 2008 at 1:08 PM, Oleg Oltar wrote: > Thanks!!! > I didn't expect to get such quick answers. Just let me try to fix it :) > > > On Tue, Dec 16, 2008 at 12:56 PM, Erik Hatcher > wrote: > >> >> On

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Oleg Oltar
Thanks!!! I didn't expect to get such quick answers. Just let me try to fix it :) On Tue, Dec 16, 2008 at 12:56 PM, Erik Hatcher wrote: > > On Dec 16, 2008, at 5:53 AM, Oleg Oltar wrote: > >> So is there another manual which I can use to start? (Seems that examples >> in >> the book, are carefull

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Erik Hatcher
On Dec 16, 2008, at 5:53 AM, Oleg Oltar wrote: So is there another manual which I can use to start? (Seems that examples in the book, are carefully chosen for starters, and quite easy to understand) The API differences are all quite minor to adjust to the latest - hopefully the post I poi

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Oleg Oltar
expressed in this e-mail and any attachments are > personal and, unless stated explicitly, do not represent the views of Lawson > Software, Inc. > > > *"Oleg Oltar" * > > 12/16/2008 06:41 PM > Please respond to > java-user@lucene.apache.org > > To >

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Erik Hatcher
The first edition of Lucene in Action was written for Lucene 1.4. Lots has changed since then in the API, but the fundamentals are still sound. The code can be easily updated to the newer API following the details I posted here: Do note t

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Michael McCandless
Lucene in Action is based on the 1.4.x release of Lucene, which is quite old by now and unfortunately some of the APIs have since been removed. We are working on the 2nd edition to fix this, but in the mean-time you need to migrate to the new APIs when you see the errors. Eg, if you loo

Re: Lucene in Action book. Problems with first example

2008-12-16 Thread Joseph.Syjuco
e.org To java-user@lucene.apache.org cc Subject Lucene in Action book. Problems with first example Hi! I am starting to learn Lucene. I am using Lucene in Action book for startup (It was recommended to me). I tried to compile first example from that book, but my ide (I use eclipse, shows there are some e

Lucene in Action book. Problems with first example

2008-12-16 Thread Oleg Oltar
Hi! I am starting to learn Lucene. I am using Lucene in Action book for startup (It was recommended to me). I tried to compile first example from that book, but my ide (I use eclipse, shows there are some errors in my code). I am just the beginner here, and I really need to compile at least few pro