Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 86554 invoked from network); 27 Mar 2009 16:02:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 16:02:18 -0000 Received: (qmail 69645 invoked by uid 500); 27 Mar 2009 16:02:16 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 69599 invoked by uid 500); 27 Mar 2009 16:02:15 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 69589 invoked by uid 99); 27 Mar 2009 16:02:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 16:02:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.218.166 as permitted sender) Received: from [209.85.218.166] (HELO mail-bw0-f166.google.com) (209.85.218.166) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 16:02:06 +0000 Received: by bwz10 with SMTP id 10so1165075bwz.5 for ; Fri, 27 Mar 2009 09:01:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uExnomxLVWMB9ChJ2Tf0GlQJLhtPbPhBeHSs5e+dAe8=; b=FZELc+Yh41EaWEGwhbVfw3gUCxaI9B/8moPwYmjZSgAWTOyR3r9ybVRag4YAU1060y SH2ZLQGGVqaydfOUU/lOw+HNvG4Mtl7DpwmpRBXJy84dy9XxiwEe9gssHzorOQ0Elh3O pKimo4v6aK57MatmqBLeGAvBYz4Ilm4wPpUWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=w/3I9M+T2+55Um6Fhef8eQTRgWvfnSG8zpaMhR3fqhXebSpzjShM93COMVO2RniZDr 7swASn24navJ4XmSUhoU+ORPJKeWuMJ/T8UO5vVul3tZ0VoHL6c11MO8Lwd4nCPtCFzr VpuPj4ZzSmDDG+PbeKxeilsyqvGvqPz5PHu+U= MIME-Version: 1.0 Received: by 10.204.55.140 with SMTP id u12mr749417bkg.127.1238169705581; Fri, 27 Mar 2009 09:01:45 -0700 (PDT) Reply-To: simon.willnauer@gmail.com In-Reply-To: <475A59F1B5C6418B8A5B07EFC215D273@msrvcn04> References: <49CCB361.6090104@fastmail.fm> <9ac0c6aa0903270432s5ae64c62t5f6829ab671a8726@mail.gmail.com> <8A1B18AB107A408987E5F2B33D0AACC8@msrvcn04> <8c4e68610903270849g3d8c1ca9jfe98b03a59cd0009@mail.gmail.com> <475A59F1B5C6418B8A5B07EFC215D273@msrvcn04> Date: Fri, 27 Mar 2009 17:01:45 +0100 Message-ID: Subject: Re: Unable to improve performance From: Simon Willnauer To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org ReadOnly option was introduce with 2.4 from javadoc: "...as of 2.4, it's possible to open a read-only IndexReader using one of the static open methods that accepts the boolean readOnly parameter." http://lucene.apache.org/java/2_4_1/api/core/org/apache/lucene/index/IndexReader.html#open(org.apache.lucene.store.Directory,%20boolean) simon On Fri, Mar 27, 2009 at 4:55 PM, wrote: >> > How can I open it "readonly"? >> >> See the javadocs for IndexReader. > > I did it already for 2.3 - cannot find readonly > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org