Re: Deprecated API

2007-11-29 Thread Grant Ingersoll
Have a look at the Field.java class and it's constructors. The other option is to look at what was deprecated on Lucene 1.9 and then look at Lucene 2.x. Also, I have some up to date example files of indexing, etc. at http://www.lucenebootcamp.com (follow the link to the SVN repository) whi

Deprecated API

2007-11-29 Thread Liaqat Ali
i m studying LIA. but there is a problem with code. When i run the code i get errorsThe errors are related with the use of deprecated APIs.Kindly suggest me the right APIs and also instructions how to handle this situation with other code.. package lia.indexing; import org.apache.lucene.stor

Re: Deprecated API in BooleanQuery broken in Lucene from CVS?

2005-11-18 Thread Patrick Kimber
Daniel You are correct. The latest version from SVN works correctly. Very confusing - I only checked out Lucene from CVS a few days ago. I didn't realise that changes were only being made in the SVN repository. Thank you very much for your help. Regards Patrick On 17/11/05, Daniel Naber <[EMAIL

Re: Deprecated API in BooleanQuery broken in Lucene from CVS?

2005-11-17 Thread Daniel Naber
On Dienstag 15 November 2005 11:24, Patrick Kimber wrote: > I have checked out the latest version of Lucene from CVS and have > found a change in the results compared to version 1.4.3. Lucene isn't in CVS anymore, it's in SVN. With the latest version from SVN, I cannot reproduce your problem. R

Deprecated API in BooleanQuery broken in Lucene from CVS?

2005-11-15 Thread Patrick Kimber
Hi I have checked out the latest version of Lucene from CVS and have found a change in the results compared to version 1.4.3. The issue is with the deprecated API in the BooleanQuery class. The deprecated function: "public void add(Query query, boolean required, boolean prohibited)" is