Can't put non-index files (e.g. CVS, SVN directories) in a Lucene index directory ---------------------------------------------------------------------------------
Key: LUCENE-638 URL: http://issues.apache.org/jira/browse/LUCENE-638 Project: Lucene - Java Issue Type: Bug Reporter: Eleanor Joslin Priority: Minor Lucene won't tolerate foreign files in its index directories. This makes it impossible to keep an index in a CVS or Subversion repository. For instance, this exception appears when creating a RAMDirectory from a java.io.File that contains a subdirectory called ".svn". java.io.FileNotFoundException: /home/local/ejj/ic/.caches/.search/.index/.svn (Is a directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:425) at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:434) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324) at org.apache.lucene.store.RAMDirectory.<init>(RAMDirectory.java:61) at org.apache.lucene.store.RAMDirectory.<init>(RAMDirectory.java:86) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]