lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Resolved: (LUCENE-674) Error in FSDirectory if incorrectly specified
Date Mon, 22 Sep 2008 18:04:44 GMT


Michael McCandless resolved LUCENE-674.

       Resolution: Fixed
    Fix Version/s: 2.1

Newer versions of Lucene (since 2.1) now store the lock file in the index directory by default.

> Error in FSDirectory if incorrectly specified
> ------------------------------------------------------------
>                 Key: LUCENE-674
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.0.0
>         Environment: Reported on a Linux system under Tomcat
>            Reporter: Ryan Holliday
>            Priority: Minor
>             Fix For: 2.1
> A user of the JAMWiki project ( reported an error with the following
stack trace:
> SEVERE: Unable to create search instance /usr/share/tomcat5/webapps/jamwiki-0.3.4-beta7/test/base/search/indexen
> Cannot create directory: /temp
>         at
>         at
>         at
>         at
> The culprit is that the property was incorrectly specified on the user's
system.  Lucene could easily handle this issue by modifying the FSDirectory.init() method.
 Currently the code uses the index directory if and org.apache.lucene.lockDir
are unspecified, but it could use that directory if those values are unspecified OR if they
are invalid.  Doing so would make Lucene a bit more robust without breaking any existing installations.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message