Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 67975 invoked from network); 1 Feb 2010 23:50:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 23:50:40 -0000 Received: (qmail 87053 invoked by uid 500); 1 Feb 2010 23:50:40 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 87011 invoked by uid 500); 1 Feb 2010 23:50:40 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 87001 invoked by uid 99); 1 Feb 2010 23:50:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 23:50:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 23:50:37 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 8530B16E2F; Mon, 1 Feb 2010 23:50:16 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 01 Feb 2010 23:50:16 -0000 Message-ID: <20100201235016.21358.81868@eos.apache.org> Subject: =?utf-8?q?=5BLucene-java_Wiki=5D_Update_of_=22LuceneFAQ=22_by_MikeMcCandl?= =?utf-8?q?ess?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" f= or change notification. The "LuceneFAQ" page has been changed by MikeMcCandless. The comment on this change is: Remove stale FAQ entry -- as of 2.1 you shou= ld not hit FileNotFoundException when reading & writing the same index. http://wiki.apache.org/lucene-java/LuceneFAQ?action=3Ddiff&rev1=3D141&rev2= =3D142 -------------------------------------------------- =3D=3D=3D=3D How do I speed up searching? =3D=3D=3D=3D = See ImproveSearchingSpeed. - = - =3D=3D=3D=3D Why do I sometimes get a FileNotFoundException when I search= and update my index at the same time? =3D=3D=3D=3D - = - This typically happens when people do one or more of the following things: - * Disable the locking on one or more of the processes searching or upda= ting the index. - * Configure a different lockDir for at least one of the processes searc= hing or updating the index. - * Try to search or update an index with the lockDir configured to be on= an NFS (or Samba) mounted filesystem. - = - Even though index searching is a read only operation, the !IndexSearcher = must momentarily lock the index when it is opened in order to get the list = of files in the index. If locking is not configured properly it gets an in= correct list (because the list of files changes as the !IndexWriter adds do= cs or optimizes the index). Remote filesystems (like NFS and Samba) rarely= work, because they cannot make the transactional guarantees neccessary to = ensure that all clients get consistent views of the directory. = =3D=3D=3D Indexing =3D=3D=3D =20