Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 53493 invoked from network); 17 Jul 2002 17:43:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jul 2002 17:43:36 -0000 Received: (qmail 16892 invoked by uid 97); 17 Jul 2002 17:43:53 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 16876 invoked by uid 97); 17 Jul 2002 17:43:52 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 16864 invoked by uid 98); 17 Jul 2002 17:43:52 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D35ACEC.9040708@lucene.com> Date: Wed, 17 Jul 2002 10:44:12 -0700 From: Doug Cutting User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Developers List Subject: Re: CachedSearcher References: <50EA669584662B498F13A5F24630A0C00164CE45@peach.mnet.private> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hal�csy P�ter wrote: >>Could you please make a proposal to the lucene-dev list of >>which methods and >>classes should be made public or protected or non-final, and >>what documentation >>should be added? > > 1. all package-protected abstract method of Searcher should be made to protected abstract These need documentation. And this requires making a few other classes public, namely TopDocs and ScoreDoc. I've done all this, and more. > 2. public final class IndexWriter --> public class IndexWriter > public final synchronized void close() --> public synchronized void close() > and other methods Done. > 3. make IndexReader not final IndexReader is not final. It is abstract. It has no public implementations. You can subclass it, but you must implement all of its abstract methods. Doug -- To unsubscribe, e-mail: For additional commands, e-mail: