Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 38485 invoked from network); 17 Jul 2003 17:23:11 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jul 2003 17:23:11 -0000 Received: (qmail 23996 invoked by uid 97); 17 Jul 2003 17:25:44 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 23988 invoked from network); 17 Jul 2003 17:25:44 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 17 Jul 2003 17:25:44 -0000 Received: (qmail 38167 invoked by uid 500); 17 Jul 2003 17:23:08 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 38153 invoked from network); 17 Jul 2003 17:23:08 -0000 Received: from qmail.webpipe.net (63.172.126.3) by daedalus.apache.org with SMTP; 17 Jul 2003 17:23:08 -0000 Received: (qmail 32115 invoked by uid 89); 17 Jul 2003 17:23:20 -0000 Message-ID: <20030717172320.32114.qmail@qmail.webpipe.net> References: <000301c34c7c$be1b4620$800101df@GREGG> In-Reply-To: <000301c34c7c$be1b4620$800101df@GREGG> From: "greg" To: "Lucene Users List" Subject: Re: RAM index usage Date: Thu, 17 Jul 2003 17:23:20 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > What I am not sure of is how I create a reader, and how to delete from this > index. The reader I create for file indexes uses the following: > > _reader = IndexReader.open("folder"); > According to the javadocs i have IndexReader has an open method which takes a Directory. Use it instead of the IndexReader.open that takes a String. At least for opening it. g --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org