lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Update of "LuceneFAQ" by MikeMcCandless
Date Mon, 01 Feb 2010 23:50:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for 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 should not hit FileNotFoundException
when reading & writing the same index.


  ==== How do I speed up searching? ====
  See ImproveSearchingSpeed.
- ==== Why do I sometimes get a FileNotFoundException when I search and update my index at
the same time? ====
- 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 updating the index.
-   * Configure a different lockDir for at least one of the processes searching 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 incorrect list (because the list of files changes as
the !IndexWriter adds docs 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.
  === Indexing ===

View raw message