You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Naber (JIRA)" <ji...@apache.org> on 2006/07/29 11:54:16 UTC
[jira] Closed: (LUCENE-638) Can't put non-index files (e.g. CVS,
SVN directories) in a Lucene index directory
[ http://issues.apache.org/jira/browse/LUCENE-638?page=all ]
Daniel Naber closed LUCENE-638.
-------------------------------
Resolution: Fixed
Thanks, this has now been fixed in trunk.
> 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
> Attachments: LuceneTest.java
>
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org