DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34995>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34995 ------- Additional Comments From [EMAIL PROTECTED] 2005-05-21 01:19 ------- Not really a bug. We didn't need something like that "feature" at the time. But I can't see why it should be impossible to test with a RAMDirectory: public void testGetWriter() throws IOException { Directory directory = new RAMDirectory(); Analyzer analyzer = new StandardAnalyzer(); // create initial index { IndexWriter writer = new IndexWriter(directory, analyzer, true); writer.close(); } IndexAccessProvider accessProvider = new IndexAccessProvider(directory, analyzer); LuceneIndexAccessor accessor = new LuceneIndexAccessor(accessProvider); accessor.open(); IndexWriter writer = accessor.getWriter(); assertNotNull(writer); accessor.release(writer); accessor.close(); } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
