Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 26999 invoked from network); 30 Aug 2009 18:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Aug 2009 18:28:46 -0000 Received: (qmail 20562 invoked by uid 500); 30 Aug 2009 18:28:44 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 20486 invoked by uid 500); 30 Aug 2009 18:28:44 -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 20476 invoked by uid 99); 30 Aug 2009 18:28:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Aug 2009 18:28:43 +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 markrmiller@gmail.com designates 209.85.221.192 as permitted sender) Received: from [209.85.221.192] (HELO mail-qy0-f192.google.com) (209.85.221.192) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Aug 2009 18:28:33 +0000 Received: by qyk30 with SMTP id 30so2176315qyk.5 for ; Sun, 30 Aug 2009 11:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=jugd5OIcFlUmENVTk6WB+M4dvXgzC+5Zi1WeNI9J7h4=; b=PLO6OX+CSwXell7ECFpGLqeto19ShkIgq7yfrXnBylKFjOrNu2syG2X2VDo5Nhth4h ja/7LhSw5Hck4hD0gHlumY/d5tyh4BQ/MzgmhuH8dtK8d6zGQ98tNLyMBcIIr3g6njX9 ka8A9VrElffUfzJlXWFDgGax0U9LoUx/jAog0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wWULZ7aun7rKKms+ixndokO0o61IxSLhwrlbC8zpGBZQfSIzCLQMSL7ovqtN2EkQc5 04kBJGRA7oZHg69rK8tBeB5jAqS7bkcaVAeYhcUpRJbfAvApxbsF4zp1ktXVMn9IVpij k35jNZuEpik6C765HYlxGmxIqWHmCTypCiSf0= Received: by 10.224.81.66 with SMTP id w2mr2842977qak.98.1251656889546; Sun, 30 Aug 2009 11:28:09 -0700 (PDT) Received: from ?192.168.1.104? (ool-44c639d9.dyn.optonline.net [68.198.57.217]) by mx.google.com with ESMTPS id 4sm6298346qwe.14.2009.08.30.11.28.08 (version=SSLv3 cipher=RC4-MD5); Sun, 30 Aug 2009 11:28:08 -0700 (PDT) Message-ID: <4A9AC4BB.9010901@gmail.com> Date: Sun, 30 Aug 2009 14:28:11 -0400 From: Mark Miller User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Unintelligent implementation of IndexWriter locking? References: <4A9AB71B.2010101@gmail.com> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jan Peter Stotz wrote: > Mark Miller wrote: > > >> Have you tried using a native lock factory? >> > > No - I did not even know of it's existence as it is nowhere "visible" from > the IndexWriter class (not directly used and nowhere mentioned in the > JavDoc. Could you please add a small hint after the description about the > "locking file" in the JavaDoc of the IndexWriter class that explains how to > specify the LockFactory? > I am currently using FSDirectory.getDirectory(File,LockFactory)) and then > use that Directory to create my IndexWriter. > That would make it easier for others to find their way... > > Thanks for your help, > Jan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > I've created an issue: https://issues.apache.org/jira/browse/LUCENE-1877 Feel free to add your comments/suggestions. -- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org