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/27 20:57:14 UTC

[jira] Commented: (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=comments#action_12423893 ] 
            
Daniel Naber commented on LUCENE-638:
-------------------------------------

What exactly does your code look like? Something else must be wrong because I use an index that's committed to CVS without problems (using Lucene 2.0).


> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org