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 <oltarase...@gmail.com> wrote: > 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_TOKENIZED)); > > So I replaced correspondent code with > doc.add(new Field("filename", f.getCanonicalPath(), Field.Store.YES, > Field.Index.UN_TOKENIZED)); > > Can you please explain what is enumerated type.What should, I use instead > of Field.Text or Field.UnIndexed. Is there any doc about it? > > > On Tue, Dec 16, 2008 at 3:04 PM, Erik Hatcher > <e...@ehatchersolutions.com>wrote: > >> >> 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: < >> http://wiki.apache.org/lucene-java/Resources> >> >> Lucene has been changing so rapidly lately that I'm not aware of any >> articles that are entirely up-to-date API-wise, but again in general most of >> those API changes are pretty minor and actually well documented in Lucene's >> CHANGES.txt and deprecation warnings (upgrading from 1.4 to 1.9, for >> example, primed users with nice deprecation warnings with what was going to >> be removed). >> >> >> Erik >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org